summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-23 06:00:58 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-23 06:36:32 +0200
commita118f0e456077da2052c8b3cde8f7b6f55bb78fb (patch)
treea07f65cd4f584a8e49b92d24341b16660e1a1412 /eclass/tests
parentprofiles: Add python3_12 target (diff)
downloadgentoo-a118f0e456077da2052c8b3cde8f7b6f55bb78fb.tar.gz
gentoo-a118f0e456077da2052c8b3cde8f7b6f55bb78fb.tar.bz2
gentoo-a118f0e456077da2052c8b3cde8f7b6f55bb78fb.zip
python-utils-r1.eclass: Add python3_12 target
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/tests')
-rwxr-xr-xeclass/tests/python-utils-r1.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
index d8b414219704..ee09ae2c877c 100755
--- a/eclass/tests/python-utils-r1.sh
+++ b/eclass/tests/python-utils-r1.sh
@@ -64,7 +64,7 @@ tmpfile=$(mktemp)
inherit python-utils-r1
-for minor in 10 11; do
+for minor in {10..12}; do
ebegin "Testing python3.${minor}"
eindent
test_var EPYTHON "python3_${minor}" "python3.${minor}"
@@ -201,10 +201,16 @@ test_is "_python_impl_matches pypy3 python*" 1
set +f
test_is "_python_impl_matches python3_10 3.10" 0
test_is "_python_impl_matches python3_10 3.11" 1
+test_is "_python_impl_matches python3_10 3.12" 1
test_is "_python_impl_matches python3_11 3.10" 1
test_is "_python_impl_matches python3_11 3.11" 0
+test_is "_python_impl_matches python3_11 3.12" 1
+test_is "_python_impl_matches python3_12 3.10" 1
+test_is "_python_impl_matches python3_12 3.11" 1
+test_is "_python_impl_matches python3_12 3.12" 0
test_is "_python_impl_matches pypy3 3.10" 1
test_is "_python_impl_matches pypy3 3.11" 1
+test_is "_python_impl_matches pypy3 3.12" 1
eoutdent
rm "${tmpfile}"