summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2022-07-01 08:30:08 +0200
committerFabian Groffen <grobian@gentoo.org>2022-07-01 08:30:08 +0200
commit23e04465be51d3e2156981bf9851a4bd3163e96c (patch)
tree35aa9c1cc3ef40183bf1b4a4ec3a8bc3f5ee260e
parentscripts/bootstrap-prefix: bump snapshot for autotools.eclass (diff)
downloadprefix-23e04465.tar.gz
prefix-23e04465.tar.bz2
prefix-23e04465.zip
scripts/bootstrap-prefix: cleanup bootstrap_python somewhat
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh7
1 files 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= \