gh-91132: Update macOS installer to use ncurses 6.5. (#129990)

This commit is contained in:
Ned Deily 2025-02-10 23:48:12 -05:00 committed by GitHub
parent 1feaecc2bc
commit 0dbe543d70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 19 deletions

View file

@ -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-normal",
"--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(),),
"--without-normal",
"--without-progs",
"--without-tests",
],
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')),

View file

@ -0,0 +1 @@
Update macOS installer to use ncurses 6.5.