summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-16 10:51:48 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-16 11:14:36 +0100
commitb9923b8999a4b8355607839ace9585bcea1a7155 (patch)
treeab5a0b88bab93f80d682196e81e5a98ac5fcee5d /dev-python
parentdev-lang/swi-prolog: bump development version (diff)
downloadgentoo-b9923b8999a4b8355607839ace9585bcea1a7155.tar.gz
gentoo-b9923b8999a4b8355607839ace9585bcea1a7155.tar.bz2
gentoo-b9923b8999a4b8355607839ace9585bcea1a7155.zip
dev-python/setuptools: Replace python_gen_usedep
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/setuptools/setuptools-42.0.2.ebuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-python/setuptools/setuptools-42.0.2.ebuild b/dev-python/setuptools/setuptools-42.0.2.ebuild
index 98b924808219..4a4fdf1ae704 100644
--- a/dev-python/setuptools/setuptools-42.0.2.ebuild
+++ b/dev-python/setuptools/setuptools-42.0.2.ebuild
@@ -27,17 +27,18 @@ RESTRICT="!test? ( test )"
# Temporary hack to avoid py38 keywording hell. Please remove when
# the test deps all have py38. Also setuptools' test pass with py38,
# so you need to hack them all in locally before bumping and test.
-TEST_USEDEP=$(python_gen_usedep python2_7 python3_{5,6,7} pypy{,3})
BDEPEND="
app-arch/unzip
test? (
- dev-python/mock[${TEST_USEDEP}]
- dev-python/pip[${TEST_USEDEP}]
- >=dev-python/pytest-3.7.0[${TEST_USEDEP}]
- dev-python/pytest-fixture-config[${TEST_USEDEP}]
- dev-python/pytest-virtualenv[${TEST_USEDEP}]
- dev-python/wheel[${TEST_USEDEP}]
- virtual/python-futures[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pip[${PYTHON_USEDEP}]
+ >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
+ dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
+ dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+ virtual/python-futures[${PYTHON_USEDEP}]
+ ' python2_7 python3_{5,6,7} pypy{,3})
)
"
PDEPEND="