diff options
| author | Michał Górny <mgorny@gentoo.org> | 2023-05-24 11:27:05 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2023-05-24 14:19:18 +0200 |
| commit | cc645952c8c60cd3775d2e24e201291b15966be0 (patch) | |
| tree | 789a943ac82d82e8d86c330cdeca1f1615185087 /dev-python | |
| parent | d1b9cb2e6f68ca8be8e7ca59c47b76112629004b (diff) | |
| download | gentoo-cc645952c8c60cd3775d2e24e201291b15966be0.tar.gz gentoo-cc645952c8c60cd3775d2e24e201291b15966be0.tar.bz2 gentoo-cc645952c8c60cd3775d2e24e201291b15966be0.zip | |
dev-python/distlib: Reenable more tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/distlib/distlib-0.3.6.ebuild | 14 |
1 files changed, 1 insertions, 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 } |
