Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: pypy3 is now Python 3.9
Date: Thu, 21 Apr 2022 08:42:04
Message-Id: 20220421084133.277976-1-mgorny@gentoo.org
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/python-utils-r1.eclass | 6 +++---
4 1 file changed, 3 insertions(+), 3 deletions(-)
5
6 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
7 index 98cb49c95fd7..a6f5f24c8bdd 100644
8 --- a/eclass/python-utils-r1.eclass
9 +++ b/eclass/python-utils-r1.eclass
10 @@ -240,12 +240,12 @@ _python_impl_matches() {
11 fi
12 return 0
13 ;;
14 - 3.8)
15 - # the only unmasked pypy3 version is pypy3.8 atm
16 + 3.9)
17 + # the only unmasked pypy3 version is pypy3.9 atm
18 [[ ${impl} == python${pattern/./_} || ${impl} == pypy3 ]] &&
19 return 0
20 ;;
21 - 3.9|3.10)
22 + 3.8|3.10)
23 [[ ${impl} == python${pattern/./_} ]] && return 0
24 ;;
25 *)
26 --
27 2.35.1

Replies