https://github.com/python/cpython/commit/81445c2272d1389ad3ad21aba7e240a0d36f9689
commit: 81445c2272d1389ad3ad21aba7e240a0d36f9689
branch: 3.12
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: ned-deily <n...@python.org>
date: 2025-04-06T23:46:16-04:00
summary:

[3.12] gh-91132: Update macOS installer to use ncurses 6.5. (GH-129990)

(cherry picked from commit 0dbe543d70d7f014d4c1e0308f04c1d91bd815ca)

Co-authored-by: Ned Deily <n...@python.org>

files:
A Misc/NEWS.d/next/macOS/2025-02-10-22-08-37.gh-issue-91132.00x1MI.rst
M Mac/BuildScript/build-installer.py

diff --git a/Mac/BuildScript/build-installer.py 
b/Mac/BuildScript/build-installer.py
index 586868c9675584..9baa98e1778a3a 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -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
index 00000000000000..01ea8b1594fc9f
--- /dev/null
+++ b/Misc/NEWS.d/next/macOS/2025-02-10-22-08-37.gh-issue-91132.00x1MI.rst
@@ -0,0 +1 @@
+Update macOS installer to use ncurses 6.5.

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to