dev-python/distlib: Sync with Gentoo

It's from Gentoo commit ef637b7554d4a840103e588f3625ad5efb030c44.
This commit is contained in:
Flatcar Buildbot 2025-06-16 07:08:38 +00:00 committed by Krzesimir Nowak
parent 8f0029a3fe
commit 169380de8a

View File

@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} python3_13t pypy3 pypy3_11 )
PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 )
inherit distutils-r1
@ -52,7 +52,7 @@ python_test() {
# disable system-site-packages -- distlib has no deps, and is very
# fragile to packages actually installed on the system
sed -i -e '/system-site-packages/s:true:false:' \
"${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die
"${BUILD_DIR}/install${EPREFIX}/usr/pyvenv.cfg" || die
"${EPYTHON}" tests/test_all.py -v -x ||
die "Tests failed with ${EPYTHON}"