1 |
commit: a27c745801f4617dc4dd5913817eb80aebe5ae4a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 14:24:59 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 15:42:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27c7458 |
7 |
|
8 |
dev-python/pbr: Port to py39 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pbr/pbr-5.4.5.ebuild | 11 +++++++++-- |
13 |
1 file changed, 9 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pbr/pbr-5.4.5.ebuild b/dev-python/pbr/pbr-5.4.5.ebuild |
16 |
index 16bbd60f00a..ea2101a5a69 100644 |
17 |
--- a/dev-python/pbr/pbr-5.4.5.ebuild |
18 |
+++ b/dev-python/pbr/pbr-5.4.5.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
24 |
+PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) |
25 |
PYTHON_REQ_USE="threads(+)" |
26 |
|
27 |
inherit distutils-r1 |
28 |
@@ -30,13 +30,14 @@ BDEPEND=" |
29 |
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
30 |
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
31 |
>=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
32 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
33 |
>=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] |
34 |
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
35 |
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
36 |
<dev-python/virtualenv-20[${PYTHON_USEDEP}] |
37 |
>=dev-python/stestr-2.1.0 |
38 |
dev-vcs/git |
39 |
- ' -3) |
40 |
+ ' python3_{6,7,8}) |
41 |
)" |
42 |
PDEPEND="" |
43 |
|
44 |
@@ -56,6 +57,12 @@ python_prepare_all() { |
45 |
} |
46 |
|
47 |
python_test() { |
48 |
+ # TODO |
49 |
+ if [[ ${EPYTHON} == python3.9 ]]; then |
50 |
+ einfo "Skipping py3.9 due to unported sphinx" |
51 |
+ return |
52 |
+ fi |
53 |
+ |
54 |
if ! python_is_python3; then |
55 |
ewarn "Skipping tests on ${EPYTHON} to unblock circular deps." |
56 |
ewarn "Please run tests manually." |