Fix the QA check to match on `*py3-none-any.whl` to match the code
matching reusable wheels.  This avoids false positives over
`dev-python/backrefs` that creates separate pure Python wheels for every
Python version.

Signed-off-by: Michał Górny <mgo...@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 61c0a80323ec..8227466b4d4c 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1933,7 +1933,7 @@ _distutils-r1_compare_installed_files() {
        # Perform the check only if at least one potentially reusable wheel
        # has been produced.  Nonpure packages (e.g. NumPy) may install
        # interpreter configuration details into sitedir.
-       if [[ ${!DISTUTILS_WHEELS[*]} != *-none-any.whl* &&
+       if [[ ${!DISTUTILS_WHEELS[*]} != *py3-none-any.whl* &&
                        ${!DISTUTILS_WHEELS[*]} != *-abi3-*.whl ]]; then
                return
        fi
-- 
2.45.2


Reply via email to