summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-25 14:44:14 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-25 14:44:33 +0200
commit9949587eac9cff0ed42876c3e48c1513f43fa5bf (patch)
tree3e5c2145cf765157bd95f9bf5f50b1f0d8fa2185
parentdev-python/nose: Clean py27-requiring docs up (diff)
downloadgentoo-9949587eac9cff0ed42876c3e48c1513f43fa5bf.tar.gz
gentoo-9949587eac9cff0ed42876c3e48c1513f43fa5bf.tar.bz2
gentoo-9949587eac9cff0ed42876c3e48c1513f43fa5bf.zip
dev-python/nose: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/nose/nose-1.3.7-r5.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-python/nose/nose-1.3.7-r5.ebuild b/dev-python/nose/nose-1.3.7-r5.ebuild
index 8ce50a05b18..0b0eda13af0 100644
--- a/dev-python/nose/nose-1.3.7-r5.ebuild
+++ b/dev-python/nose/nose-1.3.7-r5.ebuild
@@ -4,7 +4,7 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@@ -22,11 +22,15 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~s
IUSE="coverage examples test"
RESTRICT="!test? ( test )"
+COV_DEP="
+ $(python_gen_cond_dep '
+ dev-python/coverage[${PYTHON_USEDEP}]
+ ' python2_7 python3_{6,7,8} pypy3)"
RDEPEND="
- coverage? ( dev-python/coverage[${PYTHON_USEDEP}] )"
+ coverage? ( ${COV_DEP} )"
DEPEND="${RDEPEND}
test? (
- dev-python/coverage[${PYTHON_USEDEP}]
+ ${COV_DEP}
$(python_gen_cond_dep '
dev-python/twisted[${PYTHON_USEDEP}]
' python2_7 python3_{6,7,8})