Skip to content

Commit

Permalink
dev-python/pbr: Port to py39
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed May 31, 2020
1 parent 9d6fc26 commit a27c745
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions dev-python/pbr/pbr-5.4.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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=""

Expand All @@ -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."
Expand Down

0 comments on commit a27c745

Please sign in to comment.