diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-15 04:04:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-15 04:04:09 +0100 |
commit | 45392c898b8ba163e95028bd98896e77f0c73806 (patch) | |
tree | bf6b64dd472acc2960a5c24b26dd0ac036b47d0d /eclass/distutils-r1.eclass | |
parent | 2916cf6049cf9d3092021e247d56c580df6029a7 (diff) |
gentoo auto-resync : 15:10:2024 - 04:04:09
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index c3a7d112b03f..7ab8dcae3265 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1494,9 +1494,16 @@ distutils-r1_python_compile() { # that this relies on the assumption that we're building # from the oldest to the newest implementation, # and the wheels are forward-compatible. - if [[ ( ! ${DISTUTILS_EXT} && ${whl} == *py3-none-any* ) || - ( ${EPYTHON} == python* && ${whl} == *-abi3-* ) ]] - then + if [[ + ( ! ${DISTUTILS_EXT} && ${whl} == *py3-none-any* ) || + ( + ${EPYTHON} == python* && + # freethreading does not support stable ABI + # at the moment + ${EPYTHON} != *t && + ${whl} == *-abi3-* + ) + ]]; then distutils_wheel_install "${BUILD_DIR}/install" "${whl}" return fi |