Subject: CVS commit: pkgsrc/lang
From: Taylor R Campbell
Date: 2024-01-13 05:24:29
Message id: 20240113042429.57E6AFA42@cvs.NetBSD.org

Log Message:
lang/python3*: Fix cross-build by patching out broken readline crud.

Python's setup.py tries to decide whether readline is available by
running readelf on the path it thinks it can find to libreadline.so.
Since we always use a single static readline/curses choice in Pythin
(readline, not editline, with (fake-)ncurses), just patch all that
buggy detection goo away.

No new maintenance burden because this logic has been ripped out of
Python 3.12 anyway.  Python 3.8 skipped for now because it doesn't
cross-build at the moment anyway -- more work needed to make that
happen (and it's not as easy as Python>=3.9 as I recall).

Files:
RevisionActionfile
1.30modifypkgsrc/lang/python310/Makefile
1.28modifypkgsrc/lang/python310/distinfo
1.8modifypkgsrc/lang/python310/patches/patch-setup.py
1.24modifypkgsrc/lang/python311/Makefile
1.13modifypkgsrc/lang/python311/distinfo
1.3modifypkgsrc/lang/python311/patches/patch-setup.py
1.38modifypkgsrc/lang/python39/distinfo
1.11modifypkgsrc/lang/python39/patches/patch-setup.py