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>
This commit is contained in:
Michał Górny
2025-10-14 08:50:52 +02:00
parent 6fa9351ed3
commit cfa5bab4eb

View File

@@ -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