1 |
commit: 811aed4f00904b87f49ade8e75a1f00683dc9904 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 17:09:11 2021 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 17:09:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=811aed4f |
7 |
|
8 |
eclass/python-utils-r1: sync with gx86 |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
eclass/python-utils-r1.eclass | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
16 |
index 88b258a7f6..5023750fd6 100644 |
17 |
--- a/eclass/python-utils-r1.eclass |
18 |
+++ b/eclass/python-utils-r1.eclass |
19 |
@@ -42,7 +42,7 @@ inherit toolchain-funcs |
20 |
# All supported Python implementations, most preferred last. |
21 |
_PYTHON_ALL_IMPLS=( |
22 |
pypy3 |
23 |
- python3_7 python3_8 python3_9 |
24 |
+ python3_{7..10} |
25 |
) |
26 |
readonly _PYTHON_ALL_IMPLS |
27 |
|
28 |
@@ -125,7 +125,7 @@ _python_set_impls() { |
29 |
# please keep them in sync with _PYTHON_ALL_IMPLS |
30 |
# and _PYTHON_HISTORICAL_IMPLS |
31 |
case ${i} in |
32 |
- jython2_7|pypy|pypy1_[89]|pypy2_0|pypy3|python2_[5-7]|python3_[1-9]) |
33 |
+ jython2_7|pypy|pypy1_[89]|pypy2_0|pypy3|python2_[5-7]|python3_[1-9]|python3_10) |
34 |
;; |
35 |
*) |
36 |
if has "${i}" "${_PYTHON_ALL_IMPLS[@]}" \ |