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 <[email protected]>
---
 eclass/distutils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index e9826f4cf3df3..b7f5045e60bd9 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

Reply via email to