kumquat-buildroot/package/python3
Vincent Fazio a1efb5427b package/python3: fix config directory pattern
Previously, when running `PYTHON3_REMOVE_USELESS_FILES`, the hook to
clean up files from the python config directory assumed a pattern of
"config-$(VERSION)m-$(PLATFORM_TRIPLET)".

However, the "m" ABI suffix was dropped in python 3.8, so the hook would
never actually find files to delete. No error was raised due to the use
of a subshell to invoke find.

Also, if a platform triplet is not detected during the configure stage,
the config directory (LIBPL) defaults to `config-$VERSION`, and has no
trailing `-$PLATFORM_TRIPLET`.

Now, we glob anything after the version to ensure files get deleted.

Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-09 21:13:58 +02:00
..
0001-Make-the-build-of-pyc-files-conditional.patch
0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch
0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch
0004-Don-t-look-in-usr-lib-termcap-for-libraries.patch
0005-Don-t-add-multiarch-paths.patch
0006-Abort-on-failed-module-build.patch
0007-Serial-ioctl-workaround.patch
0008-Add-an-option-to-disable-pydoc.patch
0009-Add-an-option-to-disable-lib2to3.patch
0010-Add-option-to-disable-the-sqlite3-module.patch
0011-Add-an-option-to-disable-the-tk-module.patch
0012-Add-an-option-to-disable-the-curses-module.patch
0013-Add-an-option-to-disable-expat.patch
0014-Add-an-option-to-disable-CJK-codecs.patch
0015-Add-an-option-to-disable-NIS.patch
0016-Add-an-option-to-disable-unicodedata.patch
0017-Add-an-option-to-disable-IDLE.patch
0018-Add-an-option-to-disable-decimal.patch
0019-Add-an-option-to-disable-the-ossaudiodev-module.patch
0020-Add-an-option-to-disable-openssl-support.patch
0021-Add-an-option-to-disable-the-readline-module.patch
0022-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch
0023-Add-an-option-to-disable-uuid-module.patch
0024-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch
0025-Add-an-option-to-disable-the-berkeleydb-module.patch
0026-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch
0027-gh-115382-Fix-cross-compiles-when-host-and-target-us.patch
Config.in
Config.in.host
python3.hash
python3.mk