commit:     710d19bf18469c1ccd9e0347edbba8cff9627c12
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 10 10:49:31 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 10:53:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=710d19bf

dev-python/setuptools: Reenable tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/setuptools/setuptools-57.0.0.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/setuptools/setuptools-57.0.0.ebuild 
b/dev-python/setuptools/setuptools-57.0.0.ebuild
index de5047202c8..dd369730c7d 100644
--- a/dev-python/setuptools/setuptools-57.0.0.ebuild
+++ b/dev-python/setuptools/setuptools-57.0.0.ebuild
@@ -33,7 +33,7 @@ BDEPEND="
                        dev-python/pytest-xdist[${PYTHON_USEDEP}]
                        >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
                        dev-python/wheel[${PYTHON_USEDEP}]
-               ' python3_{7..9} pypy3)
+               ' python3_{7..10} pypy3)
        )
 "
 PDEPEND="
@@ -46,10 +46,10 @@ DISTUTILS_IN_SOURCE_BUILD=1
 DOCS=( {CHANGES,README}.rst )
 
 python_test() {
-       # temporarily skipped, until we port all test deps
-       [[ ${EPYTHON} == python3.10 ]] && continue
+       # keep in sync with python_gen_cond_dep above!
+       has "${EPYTHON}" python3.{7..10} pypy3 || continue
 
-       distutils_install_for_testing --via-root
+       distutils_install_for_testing
        local deselect=(
                # network
                
'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'

Reply via email to