]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-91132: Update macOS installer to use ncurses 6.5. (#129990)
authorNed Deily <nad@python.org>
Tue, 11 Feb 2025 04:48:12 +0000 (23:48 -0500)
committerGitHub <noreply@github.com>
Tue, 11 Feb 2025 04:48:12 +0000 (23:48 -0500)
Mac/BuildScript/build-installer.py
Misc/NEWS.d/next/macOS/2025-02-10-22-08-37.gh-issue-91132.00x1MI.rst [new file with mode: 0644]

index f5f0ed44884142cc5435720a92313e6d43e00ed5..cb2484767e6449db81b4068240202e1bbda022c8 100755 (executable)
@@ -325,32 +325,32 @@ def library_recipes():
 
     result.extend([
           dict(
-              name="NCurses 5.9",
-              url="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz",
-              checksum='8cb9c412e5f2d96bc6f459aa8c6282a1',
+              name="NCurses 6.5",
+              url="https://ftp.gnu.org/gnu/ncurses/ncurses-6.5.tar.gz",
+              checksum="136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6",
               configure_pre=[
+                  "--datadir=/usr/share",
+                  "--disable-lib-suffixes",
+                  "--disable-db-install",
+                  "--disable-mixed-case",
+                  "--enable-overwrite",
                   "--enable-widec",
+                  f"--libdir=/Library/Frameworks/Python.framework/Versions/{getVersion()}/lib",
+                  "--sharedstatedir=/usr/com",
+                  "--sysconfdir=/etc",
+                  "--with-default-terminfo-dir=/usr/share/terminfo",
+                  "--with-shared",
+                  "--with-terminfo-dirs=/usr/share/terminfo",
+                  "--without-ada",
                   "--without-cxx",
                   "--without-cxx-binding",
-                  "--without-ada",
-                  "--without-curses-h",
-                  "--enable-shared",
-                  "--with-shared",
+                  "--without-cxx-shared",
                   "--without-debug",
+                  "--without-manpages",
                   "--without-normal",
+                  "--without-progs",
                   "--without-tests",
-                  "--without-manpages",
-                  "--datadir=/usr/share",
-                  "--sysconfdir=/etc",
-                  "--sharedstatedir=/usr/com",
-                  "--with-terminfo-dirs=/usr/share/terminfo",
-                  "--with-default-terminfo-dir=/usr/share/terminfo",
-                  "--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib"%(getVersion(),),
               ],
-              patchscripts=[
-                  ("ftp://ftp.invisible-island.net/ncurses//5.9/ncurses-5.9-20120616-patch.sh.bz2",
-                   "f54bf02a349f96a7c4f0d00922f3a0d4"),
-                   ],
               useLDFlags=False,
               install='make && make install DESTDIR=%s && cd %s/usr/local/lib && ln -fs ../../../Library/Frameworks/Python.framework/Versions/%s/lib/lib* .'%(
                   shellQuote(os.path.join(WORKDIR, 'libraries')),
diff --git a/Misc/NEWS.d/next/macOS/2025-02-10-22-08-37.gh-issue-91132.00x1MI.rst b/Misc/NEWS.d/next/macOS/2025-02-10-22-08-37.gh-issue-91132.00x1MI.rst
new file mode 100644 (file)
index 0000000..01ea8b1
--- /dev/null
@@ -0,0 +1 @@
+Update macOS installer to use ncurses 6.5.