summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-31 16:24:59 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-31 17:42:19 +0200
commita27c745801f4617dc4dd5913817eb80aebe5ae4a (patch)
treed4451d9071ebade0af2d8ec49aafe47d1df8efe9 /dev-python/pbr
parentdev-libs/libuv: x86 stable wrt bug #716822 (diff)
downloadgentoo-a27c745801f4617dc4dd5913817eb80aebe5ae4a.tar.gz
gentoo-a27c745801f4617dc4dd5913817eb80aebe5ae4a.tar.bz2
gentoo-a27c745801f4617dc4dd5913817eb80aebe5ae4a.zip
dev-python/pbr: Port to py39
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pbr')
-rw-r--r--dev-python/pbr/pbr-5.4.5.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/pbr/pbr-5.4.5.ebuild b/dev-python/pbr/pbr-5.4.5.ebuild
index 16bbd60f00a7..ea2101a5a694 100644
--- a/dev-python/pbr/pbr-5.4.5.ebuild
+++ b/dev-python/pbr/pbr-5.4.5.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@@ -30,13 +30,14 @@ BDEPEND="
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
>=dev-python/testresources-2.0.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
<dev-python/virtualenv-20[${PYTHON_USEDEP}]
>=dev-python/stestr-2.1.0
dev-vcs/git
- ' -3)
+ ' python3_{6,7,8})
)"
PDEPEND=""
@@ -56,6 +57,12 @@ python_prepare_all() {
}
python_test() {
+ # TODO
+ if [[ ${EPYTHON} == python3.9 ]]; then
+ einfo "Skipping py3.9 due to unported sphinx"
+ return
+ fi
+
if ! python_is_python3; then
ewarn "Skipping tests on ${EPYTHON} to unblock circular deps."
ewarn "Please run tests manually."