From 2445fe9fb25e6d9eed28aa9ad237bd250d1600d1 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Fri, 5 May 2023 17:23:49 +0800 Subject: python3: Update to 3.11.3, refresh/redo patches * Removed patches: * 001-enable-zlib.patch: zlib module should be enabled automatically * 007-distutils-do-not-adjust-path.patch: Not necessary since we process shebang lines for all scripts (in python3-package.mk) * 030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch: Already merged * Move configure vars from config.site back into Makefile Centralizing all build information into one file makes it easier to maintain * No longer set ac_cv_header_uuid_h=yes as configure should detect libuuid * Order configure args by enable-/disable-/with-/without-, then alphabetically * Set ac_cv_working_openssl_hashlib=yes for host configure to bypass the OpenSSL API tests with LibreSSL * Use the default Host/Compile recipe instead of picking out specific targets to make Signed-off-by: Jeffery To --- lang/python/python3/patches/008-distutils-use-python-sysroot.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/python/python3/patches/008-distutils-use-python-sysroot.patch') diff --git a/lang/python/python3/patches/008-distutils-use-python-sysroot.patch b/lang/python/python3/patches/008-distutils-use-python-sysroot.patch index 26f22d7df..c3e856290 100644 --- a/lang/python/python3/patches/008-distutils-use-python-sysroot.patch +++ b/lang/python/python3/patches/008-distutils-use-python-sysroot.patch @@ -36,7 +36,7 @@ Signed-off-by: Thomas Petazzoni self.library_dirs.append('.') --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py -@@ -123,10 +123,17 @@ _SCHEME_KEYS = ('stdlib', 'platstdlib', +@@ -168,10 +168,17 @@ _SCHEME_KEYS = ('stdlib', 'platstdlib', _PY_VERSION = sys.version.split()[0] _PY_VERSION_SHORT = f'{sys.version_info[0]}.{sys.version_info[1]}' _PY_VERSION_SHORT_NO_DOT = f'{sys.version_info[0]}{sys.version_info[1]}' -- cgit v1.2.3