From 34a5a65d3fa3da1f7e41580d08987c888d1ec7d7 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 3 Nov 2025 07:08:31 +0000 Subject: [PATCH] eclass/distutils-r1: Sync with Gentoo It's from Gentoo commit 26413a3fb5f9c37fbc14b7a567f6c1f7358555ac. Signed-off-by: Flatcar Buildbot --- .../src/third_party/portage-stable/eclass/distutils-r1.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass index e9826f4cf3..8fc92cf4fc 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass @@ -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