From cf2e1de136b9f4e184684c0f595f28baecd459f2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 3 Jul 2023 07:16:47 +0000 Subject: [PATCH] eclass/python-utils-r1: Sync with Gentoo It's from Gentoo commit b71b3342dc4c197c5aaf77ef7fff56a9cc06c98d. --- .../portage-stable/eclass/python-utils-r1.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass index 7a1be381f5..40c15b65d7 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass @@ -238,12 +238,12 @@ _python_impl_matches() { fi return 0 ;; - 3.9) - # the only unmasked pypy3 version is pypy3.9 atm + 3.9|3.10) + # =7.3.12 is 3.10 [[ ${impl} == python${pattern/./_} || ${impl} == pypy3 ]] && return 0 ;; - 3.8|3.1[0-2]) + 3.8|3.1[1-2]) [[ ${impl} == python${pattern/./_} ]] && return 0 ;; *) @@ -448,11 +448,11 @@ _python_export() { local d case ${impl} in python3.10) - PYTHON_PKG_DEP=">=dev-lang/python-3.10.11:3.10";; + PYTHON_PKG_DEP=">=dev-lang/python-3.10.12:3.10";; python3.11) - PYTHON_PKG_DEP=">=dev-lang/python-3.11.3:3.11";; + PYTHON_PKG_DEP=">=dev-lang/python-3.11.4:3.11";; python3.12) - PYTHON_PKG_DEP=">=dev-lang/python-3.12.0_beta1:3.12";; + PYTHON_PKG_DEP=">=dev-lang/python-3.12.0_beta3:3.12";; pypy3) PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.11_p1:0=';; *)