[Python-checkins] gh-92171: Update Tcl/Tk download links in macOS installer script (GH-92179)
ned-deily
webhook-mailer at python.org
Mon May 9 14:32:54 EDT 2022
https://github.com/python/cpython/commit/6ecf594baaf4488834ed1e841923d484230b0bfb
commit: 6ecf594baaf4488834ed1e841923d484230b0bfb
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at protonmail.com>
committer: ned-deily <nad at python.org>
date: 2022-05-09T14:32:21-04:00
summary:
gh-92171: Update Tcl/Tk download links in macOS installer script (GH-92179)
files:
M Mac/BuildScript/build-installer.py
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index b5bffaff4ed0d..50b55f9cd1da8 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",
More information about the Python-checkins
mailing list