1 |
commit: ec97f692eb7fd3a8cf168b9b49685b4a5b45fbd0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 1 19:03:04 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 1 19:06:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec97f692 |
7 |
|
8 |
dev-python/async_generator: Port to py39 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/async_generator/async_generator-1.10.ebuild | 11 ++--------- |
13 |
1 file changed, 2 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/async_generator/async_generator-1.10.ebuild b/dev-python/async_generator/async_generator-1.10.ebuild |
16 |
index 87b3ff8f046..51b8ddbb518 100644 |
17 |
--- a/dev-python/async_generator/async_generator-1.10.ebuild |
18 |
+++ b/dev-python/async_generator/async_generator-1.10.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
24 |
+PYTHON_COMPAT=( python3_{6..9} ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -14,14 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
29 |
LICENSE="|| ( MIT Apache-2.0 )" |
30 |
SLOT="0" |
31 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" |
32 |
-IUSE="test" |
33 |
-RESTRICT="!test? ( test )" |
34 |
- |
35 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
36 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
37 |
|
38 |
DOCS=( README.rst ) |
39 |
|
40 |
-python_test() { |
41 |
- pytest -vv || die "tests failed under ${EPYTHON}" |
42 |
-} |
43 |
+distutils_enable_tests pytest |