From a7cb0ecab136a7cc9449c346d8f2bbed97dacbba Mon Sep 17 00:00:00 2001 From: Ahmad ElAvvocato Date: Fri, 17 May 2024 14:35:27 +0200 Subject: [PATCH] eclass/python-utils-r1.eclass: add support for python3.13 --- eclass/python-utils-r1.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index d9e95573..22a006ec 100755 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -43,7 +43,7 @@ inherit multiprocessing toolchain-funcs # All supported Python implementations, most preferred last. _PYTHON_ALL_IMPLS=( pypy3 - python3_{5..12} + python3_{5..13} ) readonly _PYTHON_ALL_IMPLS @@ -83,7 +83,7 @@ _python_verify_patterns() { local impl pattern for pattern; do case ${pattern} in - -[23]|3.[89]|3.1[012]) + -[23]|3.[89]|3.1[0123]) continue ;; esac @@ -132,7 +132,7 @@ _python_set_impls() { # please keep them in sync with _PYTHON_ALL_IMPLS # and _PYTHON_HISTORICAL_IMPLS case ${i} in - pypy3|python2_7|python3_[89]|python3_1[0-2]) + pypy3|python2_7|python3_[89]|python3_1[0-3]) ;; jython2_7|pypy|pypy1_[89]|pypy2_0|python2_[5-6]|python3_[1-7]) obsolete+=( "${i}" ) @@ -245,7 +245,7 @@ _python_impl_matches() { [[ ${impl} == python${pattern/./_} || ${impl} == pypy3 ]] && return 0 ;; - 3.8|3.1[0-2]) + 3.8|3.1[0-3]) [[ ${impl} == python${pattern/./_} ]] && return 0 ;; *)