summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-10-14 08:50:52 +0200
committerMichał Górny <mgorny@gentoo.org>2025-10-23 20:19:11 +0200
commitcfa5bab4ebb1904240057c970d52291c1594eac2 (patch)
tree260e7e67b3be6f660a1d2e9cfbaf3a6deb163977 /eclass
parent6fa9351ed3e6287f51f63533062b14cd7bfde9b9 (diff)
downloadgentoo-cfa5bab4ebb1904240057c970d52291c1594eac2.tar.gz
gentoo-cfa5bab4ebb1904240057c970d52291c1594eac2.tar.bz2
gentoo-cfa5bab4ebb1904240057c970d52291c1594eac2.zip
distutils-r1.eclass: Extend wheel reuse to *py3-none*
Remove the unnecessary "-any" restriction in wheel reuse. I've added it without thinking about it twice, but it prevents wheel reuse for Python-agnostic packages that build native executables, e.g. dev-python/uv. Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/44172 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index e9826f4cf3df..b7f5045e60bd 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1287,7 +1287,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