summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>2022-05-09 18:32:21 (GMT)
committerGitHub <noreply@github.com>2022-05-09 18:32:21 (GMT)
commit6ecf594baaf4488834ed1e841923d484230b0bfb (patch)
treefab29c4614fdfac2a3bdb9d8a56e25b69fcace34 /Mac
parentf0614ca9801d0768094570b784d2b26936bcca34 (diff)
downloadcpython-6ecf594baaf4488834ed1e841923d484230b0bfb.zip
cpython-6ecf594baaf4488834ed1e841923d484230b0bfb.tar.gz
cpython-6ecf594baaf4488834ed1e841923d484230b0bfb.tar.bz2
gh-92171: Update Tcl/Tk download links in macOS installer script (GH-92179)
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index b5bffaf..50b55f9 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -271,10 +271,11 @@ def library_recipes():
tk_patches = [ ]
+ base_url = "https://prdownloads.sourceforge.net/tcl/{what}{version}-src.tar.gz"
result.extend([
dict(
name="Tcl %s"%(tcl_tk_ver,),
- url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tcl%s-src.tar.gz"%(tcl_tk_ver,),
+ url=base_url.format(what="tcl", version=tcl_tk_ver),
checksum=tcl_checksum,
buildDir="unix",
configure_pre=[
@@ -291,7 +292,7 @@ def library_recipes():
),
dict(
name="Tk %s"%(tcl_tk_ver,),
- url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk%s-src.tar.gz"%(tcl_tk_ver,),
+ url=base_url.format(what="tk", version=tcl_tk_ver),
checksum=tk_checksum,
patches=tk_patches,
buildDir="unix",