summaryrefslogtreecommitdiff
path: root/dev-python/pkg-resources
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pkg-resources')
-rw-r--r--dev-python/pkg-resources/pkg-resources-81.0.0.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild b/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild
index c05935f55227..3a6d9fcfeb90 100644
--- a/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild
+++ b/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild
@@ -26,6 +26,11 @@ RDEPEND="
>=dev-python/platformdirs-4.4.0[${PYTHON_USEDEP}]
!<dev-python/setuptools-82
"
+BDEPEND="
+ test? (
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ )
+"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
@@ -36,7 +41,9 @@ EPYTEST_IGNORE=(
)
python_test() {
- epytest pkg_resources
+ # needed only by setuptools
+ rm -f conftest.py || die
+ epytest -o filterwarnings= pkg_resources
}
python_install() {