From cfa5bab4ebb1904240057c970d52291c1594eac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 14 Oct 2025 08:50:52 +0200 Subject: [PATCH] distutils-r1.eclass: Extend wheel reuse to *py3-none* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Part-of: https://github.com/gentoo/gentoo/pull/44172 Signed-off-by: Michał Górny --- 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