1 |
commit: 623d2d6dd5221b7cda92d0f6bc9de217690fe5f3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 14:25:58 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 15:42:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623d2d6d |
7 |
|
8 |
dev-python/extras: Port to py39 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/extras/extras-1.0.0.ebuild | 10 ++++------ |
13 |
1 file changed, 4 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/extras/extras-1.0.0.ebuild b/dev-python/extras/extras-1.0.0.ebuild |
16 |
index b092e5c776e..933ec5200ba 100644 |
17 |
--- a/dev-python/extras/extras-1.0.0.ebuild |
18 |
+++ b/dev-python/extras/extras-1.0.0.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
# Copyright 1999-2020 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=5 |
24 |
+EAPI=7 |
25 |
|
26 |
-PYTHON_COMPAT=( python2_7 python3_6 python3_7 python3_8 pypy3 ) |
27 |
+PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) |
28 |
|
29 |
inherit distutils-r1 |
30 |
|
31 |
@@ -17,11 +17,9 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 |
32 |
IUSE="test" |
33 |
RESTRICT="!test? ( test )" |
34 |
|
35 |
-DEPEND=" |
36 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
37 |
+BDEPEND=" |
38 |
test? ( dev-python/testtools[${PYTHON_USEDEP}] )" |
39 |
-RDEPEND="" |
40 |
|
41 |
python_test() { |
42 |
- "${PYTHON}" ${PN}/tests/test_extras.py || die |
43 |
+ "${EPYTHON}" ${PN}/tests/test_extras.py || die |
44 |
} |