commit: f2cdb1f1a00237b79b1daa43c34e7a6b3830f134
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 24 07:24:55 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 24 08:00:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cdb1f1
dev-python/virtualenv: Apply test deps for impls running tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/virtualenv/virtualenv-20.0.23.ebuild | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/dev-python/virtualenv/virtualenv-20.0.23.ebuild
b/dev-python/virtualenv/virtualenv-20.0.23.ebuild
index a7fac541d10..6c1825d6e7d 100644
--- a/dev-python/virtualenv/virtualenv-20.0.23.ebuild
+++ b/dev-python/virtualenv/virtualenv-20.0.23.ebuild
@@ -40,23 +40,24 @@ RDEPEND="
' -2 python3_6 pypy3)"
# coverage is used somehow magically in virtualenv, maybe it actually
# tests something useful
-BDEPEND="${RDEPEND}
+BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
- dev-python/coverage[${PYTHON_USEDEP}]
- >=dev-python/pip-20.0.2[${PYTHON_USEDEP}]
- >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
+ ${RDEPEND}
$(python_gen_cond_dep '
+ dev-python/coverage[${PYTHON_USEDEP}]
+ >=dev-python/pip-20.0.2[${PYTHON_USEDEP}]
+ >=dev-python/pytest-5[${PYTHON_USEDEP}]
+ >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
- ' -3)
+ ' 'python3*')
)"
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/towncrier
-distutils_enable_tests pytest
src_prepare() {
# we don't have xonsh