mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
dev-python/distlib: Sync with Gentoo
It's from Gentoo commit ef637b7554d4a840103e588f3625ad5efb030c44.
This commit is contained in:
parent
8f0029a3fe
commit
169380de8a
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user