diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-05-02 20:36:42 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-05-08 14:29:17 +0200 |
| commit | 6cbb421176a66579552a24a722a5b68230c92ec3 (patch) | |
| tree | 0f7ba2369e5cefda5eb24cce1c59f1cc9409e25a /eclass/python-utils-r1.eclass | |
| parent | 7902cb7d27d24225461ab0ede0b57b3f7c0f0f86 (diff) | |
| download | gentoo-6cbb421176a66579552a24a722a5b68230c92ec3.tar.gz gentoo-6cbb421176a66579552a24a722a5b68230c92ec3.tar.bz2 gentoo-6cbb421176a66579552a24a722a5b68230c92ec3.zip | |
python-utils-r1.eclass: Simplify _python_impl_matches
Remove special case for '3.10' in _python_impl_matches -- it was only
necessary because we needed to handle 'pypy3' target specially,
and that is no longer the case. Technically, the code checks for
'pypy3_10' but that's not a problem, since there is no such a thing.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
| -rw-r--r-- | eclass/python-utils-r1.eclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index ef05a58e1b13..3a4a3f19a1be 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -230,9 +230,7 @@ _python_impl_matches() { fi return 0 ;; - 3.10) - ;; - 3.8|3.9|3.1[1-3]) + 3.[89]|3.1[0-3]) [[ ${impl%t} == python${pattern/./_} || ${impl} == pypy${pattern/./_} ]] && return 0 ;; |
