commit: c7a36d05a3ef1850bb4e4edcaedae88ec1b263ba
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 05:56:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 9 05:56:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=c7a36d05
scripts/bootstrap-prefix.sh: swap to Python 3.9 for bootstrap
1. ::gentoo defaults to Python 3.9 for quite some time (and
going against the profile defaults leads to possible
missing deps/hiccups).
2. This seems to help with some failures when poking at
Clang-based bootstrap for macOS/Darwin.
Succesfully bootstrapped on x86_64-apple-darwin21-gcc.
Signed-off-by: Sam James <sam <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 825aa87c5e..e1ceee9d37 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -979,9 +979,9 @@ bootstrap_gnu() {
einfo "${A%.tar.*} successfully bootstrapped"
}
-PYTHONMAJMIN=3.8 # keep this number in line with PV below for stage1,2
+PYTHONMAJMIN=3.9 # keep this number in line with PV below for stage1,2
bootstrap_python() {
- PV=3.8.6
+ PV=3.9.6
A=Python-${PV}.tar.xz
einfo "Bootstrapping ${A%.tar.*}"
@@ -1047,8 +1047,8 @@ bootstrap_python() {
-e 's/KQUEUE/KQUEUE_DISABLED/' \
configure
# fixup thread id detection
- efetch
"http://dev.gentoo.org/~grobian/distfiles/python-3.8.6-darwin9.patch"
- patch -p1 < "${DISTDIR}"/python-3.8.6-darwin9.patch
+ efetch
"https://dev.gentoo.org/~sam/distfiles/dev-lang/python/python-3.9.6-darwin9_pthreadid.patch"
+ patch -p1 < "${DISTDIR}"/python-3.9.6-darwin9_pthreadid.patch
;;
(arm64-*-darwin*)
# Teach Python a new trick (arm64)