summaryrefslogtreecommitdiff
path: root/dev-python/virtualenv
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/virtualenv')
-rw-r--r--dev-python/virtualenv/virtualenv-20.31.2.ebuild16
1 files changed, 3 insertions, 13 deletions
diff --git a/dev-python/virtualenv/virtualenv-20.31.2.ebuild b/dev-python/virtualenv/virtualenv-20.31.2.ebuild
index 48e79b25362d..61df8db40f79 100644
--- a/dev-python/virtualenv/virtualenv-20.31.2.ebuild
+++ b/dev-python/virtualenv/virtualenv-20.31.2.ebuild
@@ -19,6 +19,8 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/distlib-0.3.7[${PYTHON_USEDEP}]
@@ -34,6 +36,7 @@ RDEPEND="
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
+ ${RDEPEND}
$(python_gen_cond_dep '
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/flaky[${PYTHON_USEDEP}]
@@ -54,8 +57,6 @@ BDEPEND="
)
"
-distutils_enable_tests pytest
-
src_prepare() {
local PATCHES=(
# use wheels from ensurepip bundle
@@ -104,17 +105,6 @@ python_test() {
tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable
)
;;
- python3.1[23])
- EPYTEST_DESELECT+=(
- tests/unit/create/via_global_ref/test_build_c_ext.py
- )
- ;&
- python3.11)
- EPYTEST_DESELECT+=(
- # TODO
- tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable
- )
- ;;
esac
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1