commit: 23e04465be51d3e2156981bf9851a4bd3163e96c
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 1 06:30:08 2022 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jul 1 06:30:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=23e04465
scripts/bootstrap-prefix: cleanup bootstrap_python somewhat
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 127d91aca7..2a28478970 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1039,10 +1039,7 @@ bootstrap_python() {
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. 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
+ efetch https://www.python.org/ftp/python/${PV}/${A}
einfo "Unpacking ${A%.tar.*}"
export S="${PORTAGE_TMPDIR}/python-${PV}"
@@ -1195,7 +1192,7 @@ bootstrap_python() {
einfo "Compiling ${A%.tar.*}"
# - Some ancient versions of hg fail with "hg id -i", so help
- # configure to not find them using HAS_HG
+ # configure to not find them using HAS_HG (TODO: obsolete?)
# - Do not find libffi via pkg-config using PKG_CONFIG
HAS_HG=no \
PKG_CONFIG= \