commit: ec97f692eb7fd3a8cf168b9b49685b4a5b45fbd0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 1 19:03:04 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 1 19:06:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec97f692
dev-python/async_generator: Port to py39
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/async_generator/async_generator-1.10.ebuild | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/dev-python/async_generator/async_generator-1.10.ebuild
b/dev-python/async_generator/async_generator-1.10.ebuild
index 87b3ff8f046..51b8ddbb518 100644
--- a/dev-python/async_generator/async_generator-1.10.ebuild
+++ b/dev-python/async_generator/async_generator-1.10.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -14,14 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
DOCS=( README.rst )
-python_test() {
- pytest -vv || die "tests failed under ${EPYTHON}"
-}
+distutils_enable_tests pytest