commit:     cfa5bab4ebb1904240057c970d52291c1594eac2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 14 06:50:52 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 23 18:19:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa5bab4

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 <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/44172
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

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

Reply via email to