Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.gentoo.dev > #70510
| From | Michał Górny <mgorny@gentoo.org> |
|---|---|
| Newsgroups | linux.gentoo.dev |
| Subject | [gentoo-dev] [PATCH 4/8] python-utils-r1.eclass: Add Python 3.15 |
| Date | 2026-05-07 20:10 +0200 |
| Message-ID | <MSbkB-3l60-5@gated-at.bofh.it> (permalink) |
| References | <MSbkB-3l60-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
eclass/python-utils-r1.eclass | 10 +++++-----
eclass/tests/python-utils-r1.sh | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 807813f3f3bd9..a060115800477 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -40,8 +40,8 @@ inherit multiprocessing toolchain-funcs
# All supported Python implementations, most preferred last.
_PYTHON_ALL_IMPLS=(
pypy3_11
- python3_{13..14}t
- python3_{11..14}
+ python3_{13..15}t
+ python3_{11..15}
)
readonly _PYTHON_ALL_IMPLS
@@ -81,7 +81,7 @@ _python_verify_patterns() {
local impl pattern
for pattern; do
case ${pattern} in
- -[23]|3.[89]|3.1[0-4])
+ -[23]|3.[89]|3.1[0-5])
continue
;;
esac
@@ -137,7 +137,7 @@ _python_set_impls() {
# please keep them in sync with _PYTHON_ALL_IMPLS
# and _PYTHON_HISTORICAL_IMPLS
case ${i} in
- pypy3_11|python3_9|python3_1[1-4]|python3_1[3-4]t)
+ pypy3_11|python3_9|python3_1[1-5]|python3_1[3-5]t)
;;
jython2_7|pypy|pypy1_[89]|pypy2_0|pypy3|python2_[5-7]|python3_[1-9]|python3_10)
obsolete+=( "${i}" )
@@ -230,7 +230,7 @@ _python_impl_matches() {
fi
return 0
;;
- 3.[89]|3.1[0-4])
+ 3.[89]|3.1[0-5])
[[ ${impl%t} == python${pattern/./_} || ${impl} == pypy${pattern/./_} ]] &&
return 0
;;
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
index 17fd4bc24de79..e070d0f340148 100755
--- a/eclass/tests/python-utils-r1.sh
+++ b/eclass/tests/python-utils-r1.sh
@@ -64,7 +64,7 @@ tmpfile=$(mktemp)
inherit multilib python-utils-r1
-for minor in {11..14} {13..14}t; do
+for minor in {11..15} {13..15}t; do
ebegin "Testing python3.${minor}"
eindent
test_var EPYTHON "python3_${minor}" "python3.${minor}"
Back to linux.gentoo.dev | Previous | Next | Find similar
[gentoo-dev] [PATCH 4/8] python-utils-r1.eclass: Add Python 3.15 Michał Górny <mgorny@gentoo.org> - 2026-05-07 20:10 +0200
csiph-web