1 |
commit: 5410468e597dcd1244811b02b215c8df918e2c41 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 14:10:17 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 14:11:10 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5410468e |
7 |
|
8 |
dev-python/rply: Enable up to py3.9 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/rply/{rply-0.7.7.ebuild => rply-0.7.7-r1.ebuild} | 11 +++-------- |
13 |
1 file changed, 3 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/rply/rply-0.7.7.ebuild b/dev-python/rply/rply-0.7.7-r1.ebuild |
16 |
similarity index 68% |
17 |
rename from dev-python/rply/rply-0.7.7.ebuild |
18 |
rename to dev-python/rply/rply-0.7.7-r1.ebuild |
19 |
index 7517d698f0a..cbe95f22ad3 100644 |
20 |
--- a/dev-python/rply/rply-0.7.7.ebuild |
21 |
+++ b/dev-python/rply/rply-0.7.7-r1.ebuild |
22 |
@@ -3,7 +3,7 @@ |
23 |
|
24 |
EAPI=7 |
25 |
|
26 |
-PYTHON_COMPAT=( python{3_6,3_7} ) |
27 |
+PYTHON_COMPAT=( python3_{6..9} ) |
28 |
|
29 |
inherit distutils-r1 |
30 |
|
31 |
@@ -14,16 +14,11 @@ SRC_URI="https://github.com/alex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
32 |
LICENSE="BSD" |
33 |
SLOT="0" |
34 |
KEYWORDS="amd64 x86" |
35 |
-IUSE="test" |
36 |
-RESTRICT="!test? ( test )" |
37 |
|
38 |
DEPEND=" |
39 |
dev-python/appdirs[${PYTHON_USEDEP}] |
40 |
dev-python/setuptools[${PYTHON_USEDEP}] |
41 |
test? ( |
42 |
- dev-python/py[${PYTHON_USEDEP}] |
43 |
- dev-python/pytest[${PYTHON_USEDEP}] )" |
44 |
+ dev-python/py[${PYTHON_USEDEP}] )" |
45 |
|
46 |
-python_test() { |
47 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
48 |
-} |
49 |
+distutils_enable_tests pytest |