commit:     6f61ad4771edc1793a28f4674b5decb6951f957a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 12 12:05:59 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 09:44:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f61ad47

python-utils-r1.eclass: pypy3 is now 3.10-only

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/python-utils-r1.eclass | 5 ++---
 1 file 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
                                ;;
                        *)

Reply via email to