commit:     cc645952c8c60cd3775d2e24e201291b15966be0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 24 09:27:05 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 24 12:19:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc645952

dev-python/distlib: Reenable more tests

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

 dev-python/distlib/distlib-0.3.6.ebuild | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/dev-python/distlib/distlib-0.3.6.ebuild 
b/dev-python/distlib/distlib-0.3.6.ebuild
index 96bce0617735..6f1be5b2fb7b 100644
--- a/dev-python/distlib/distlib-0.3.6.ebuild
+++ b/dev-python/distlib/distlib-0.3.6.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
 
 inherit distutils-r1
 
@@ -24,11 +24,9 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 # pypiserver is called as external executable
-# openpyxl installs invalid metadata that breaks distlib
 BDEPEND="
        test? (
                dev-python/pypiserver
-               !!<dev-python/openpyxl-3.0.3[${PYTHON_USEDEP}]
        )
 "
 
@@ -39,16 +37,6 @@ src_prepare() {
        # use system pypiserver instead of broken bundled one
        eapply "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py || die
 
-       # doesn't work with our patched pip
-       sed -i -e '/PIP_AVAIL/s:True:False:' tests/test_wheel.py || die
-
-       # broken with pypy3
-       sed -i -e 's:test_custom_shebang:_&:' tests/test_scripts.py || die
-       # broken with py3.11, doesn't look important
-       sed -i -e 's:test_sequencer_basic:_&:' tests/test_util.py || die
-       # https://bugs.gentoo.org/843839
-       sed -i -e 's:test_interpreter_args:_&:' tests/test_scripts.py || die
-
        distutils-r1_src_prepare
 }
 

Reply via email to