diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-01-24 08:49:53 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-01-24 20:18:40 +0100 |
commit | 9876d1981849911cf47a3e245edcfaee3e24001b (patch) | |
tree | 7f12fc8fe625c28839f310f5748a7df476789615 /dev-python | |
parent | dev-python/pyte: Remove Python 2 (diff) | |
download | gentoo-9876d1981849911cf47a3e245edcfaee3e24001b.tar.gz gentoo-9876d1981849911cf47a3e245edcfaee3e24001b.tar.bz2 gentoo-9876d1981849911cf47a3e245edcfaee3e24001b.zip |
dev-python/pyte: Enable py3.8, clean up
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyte/pyte-0.8.0-r1.ebuild | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/dev-python/pyte/pyte-0.8.0-r1.ebuild b/dev-python/pyte/pyte-0.8.0-r1.ebuild index c9d871fa5b67..880144fbda60 100644 --- a/dev-python/pyte/pyte-0.8.0-r1.ebuild +++ b/dev-python/pyte/pyte-0.8.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -16,14 +16,10 @@ SRC_URI="https://github.com/selectel/pyte/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="LGPL-3" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/wcwidth[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" + +distutils_enable_tests pytest python_prepare_all() { # run pytest directly for tests @@ -31,7 +27,3 @@ python_prepare_all() { distutils-r1_python_prepare_all } - -python_test() { - py.test -v || die "tests failed with ${EPYTHON}" -} |