summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-12 14:05:59 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-17 11:44:17 +0200
commit6f61ad4771edc1793a28f4674b5decb6951f957a (patch)
tree9467b869279436511e0878d4e423277804f422ac /eclass/python-utils-r1.eclass
parentdev-python/jaraco-text: Remove obsolete py3.9-specific test dep (diff)
downloadgentoo-6f61ad4771edc1793a28f4674b5decb6951f957a.tar.gz
gentoo-6f61ad4771edc1793a28f4674b5decb6951f957a.tar.bz2
gentoo-6f61ad4771edc1793a28f4674b5decb6951f957a.zip
python-utils-r1.eclass: pypy3 is now 3.10-only
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 81051699f1d9..a395538be39c 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -238,12 +238,11 @@ _python_impl_matches() {
fi
return 0
;;
- 3.9|3.10)
- # <pypy3-7.3.12 is 3.9, >=7.3.12 is 3.10
+ 3.10)
[[ ${impl} == python${pattern/./_} || ${impl} == pypy3 ]] &&
return 0
;;
- 3.8|3.1[1-2])
+ 3.8|3.9|3.1[1-2])
[[ ${impl} == python${pattern/./_} ]] && return 0
;;
*)