]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92171: Update Tcl/Tk download links in macOS installer script (GH-92179)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Mon, 9 May 2022 18:32:21 +0000 (20:32 +0200)
committerGitHub <noreply@github.com>
Mon, 9 May 2022 18:32:21 +0000 (14:32 -0400)
Mac/BuildScript/build-installer.py

index b5bffaff4ed0dcd87cd8d684d3ca40db14c8a3cf..50b55f9cd1da84780410a60d603344fbc5f0a6cb 100755 (executable)
@@ -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",