commit:     1b73ceadb8401fec2bfaa2e7e95a05e1b14671f0
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu May  4 07:53:59 2023 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu May  4 07:53:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=1b73cead

scripts/bootstrap-prefix: use 3.11 as stage1 python

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 65661f615e..de4f70201f 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1001,16 +1001,16 @@ python_ver() {
        if [[ ${CHOST} == *-cygwin* ]] ; then
          echo 3.9   # keep this number in line with PV below for stage1,2
        else
-         echo 3.10   # keep this number in line with PV below for stage1,2
+         echo 3.11   # keep this number in line with PV below for stage1,2
        fi
 }
 
 bootstrap_python() {
        if [[ ${CHOST} == *-cygwin* ]] ; then
-          PV=3.9.10
-        else
-         PV=3.10.4
-        fi
+               PV=$(python_ver).10
+       else
+               PV=$(python_ver).3
+       fi
        A=Python-${PV}.tar.xz
        einfo "Bootstrapping ${A%.tar.*}"
 
@@ -3423,7 +3423,8 @@ fi
 bootstrap_${TODO#non} || exit 1
 
 # Local Variables:
-# sh-indentation: 8
-# sh-basic-offset: 8
+# sh-indentation: 4
+# sh-basic-offset: 4
 # indent-tabs-mode: t
 # End:
+# vim: set ts=4 sw=4 noexpandtab:

Reply via email to