commit:     a2d84b5dea75df392e9d4fc093b88c77087fd687
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 18:15:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 18:15:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a2d84b5d

bootstrap-prefix.sh: crank up Python 3.9 version

Closes: https://bugs.gentoo.org/843368
Closes: https://bugs.gentoo.org/835579
Signed-off-by: Sam James <sam <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 5670f37bc2..a484eae4d2 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1035,13 +1035,14 @@ bootstrap_gnu() {
 
 PYTHONMAJMIN=3.9   # keep this number in line with PV below for stage1,2
 bootstrap_python() {
-       PV=3.9.6
+       PV=3.9.13
        A=Python-${PV}.tar.xz
        einfo "Bootstrapping ${A%.tar.*}"
 
-       # don't really want to put this on the mirror, since they are
-       # non-vanilla sources, bit specific for us
-       efetch ${DISTFILES_URL}/${A} || return 1
+       # Don't really want to put this on the mirror, since they are
+       # non-vanilla sources, bit specific for us. Ideally use HTTPS / upstream
+       # but fall back to dev.gentoo.org w/ HTTP (host wget may not suport 
HTTPS).
+       efetch https://www.python.org/ftp/python/${PV}/${A} || efetch 
${DISTFILES_URL}/${A} || return 1
 
        einfo "Unpacking ${A%.tar.*}"
        export S="${PORTAGE_TMPDIR}/python-${PV}"

Reply via email to