mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-07 03:32:12 +01:00
eclass/distutils-r1: Sync with Gentoo
It's from Gentoo commit 26413a3fb5f9c37fbc14b7a567f6c1f7358555ac. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
0872254bb1
commit
34a5a65d3f
@ -551,6 +551,7 @@ distutils_enable_tests() {
|
||||
case ${1} in
|
||||
import-check)
|
||||
test_pkgs+=' dev-python/pytest-import-check[${PYTHON_USEDEP}]'
|
||||
EPYTEST_PLUGINS+=( pytest-import-check )
|
||||
;&
|
||||
pytest)
|
||||
test_pkgs+=' >=dev-python/pytest-7.4.4[${PYTHON_USEDEP}]'
|
||||
@ -1287,7 +1288,7 @@ distutils-r1_python_compile() {
|
||||
# from the oldest to the newest implementation,
|
||||
# and the wheels are forward-compatible.
|
||||
if [[
|
||||
( ! ${DISTUTILS_EXT} && ${whl} == *py3-none-any* ) ||
|
||||
( ! ${DISTUTILS_EXT} && ${whl} == *py3-none* ) ||
|
||||
(
|
||||
${EPYTHON} == python* &&
|
||||
# freethreading does not support stable ABI
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user