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/files/config.site | 13 ------------- lang/python/python3/files/python3-package-ctypes.mk | 2 +- lang/python/python3/files/python3-package-readline.mk | 2 +- 3 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 lang/python/python3/files/config.site (limited to 'lang/python/python3/files') diff --git a/lang/python/python3/files/config.site b/lang/python/python3/files/config.site deleted file mode 100644 index 65c2d9585..000000000 --- a/lang/python/python3/files/config.site +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh -# -# Copyright (C) 2007-2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -ac_cv_file__dev_ptmx=yes -ac_cv_file__dev_ptc=no -ac_cv_buggy_getaddrinfo=no -ac_cv_header_uuid_h=yes - diff --git a/lang/python/python3/files/python3-package-ctypes.mk b/lang/python/python3/files/python3-package-ctypes.mk index 90e8cefed..e1bac47cd 100644 --- a/lang/python/python3/files/python3-package-ctypes.mk +++ b/lang/python/python3/files/python3-package-ctypes.mk @@ -8,7 +8,7 @@ define Package/python3-ctypes $(call Package/python3/Default) TITLE:=Python $(PYTHON3_VERSION) ctypes module - DEPENDS:=+python3-light + DEPENDS:=+python3-light +libffi endef $(eval $(call Py3BasePackage,python3-ctypes, \ diff --git a/lang/python/python3/files/python3-package-readline.mk b/lang/python/python3/files/python3-package-readline.mk index 4ce408db2..fbff134a3 100644 --- a/lang/python/python3/files/python3-package-readline.mk +++ b/lang/python/python3/files/python3-package-readline.mk @@ -8,7 +8,7 @@ define Package/python3-readline $(call Package/python3/Default) TITLE:=Python $(PYTHON3_VERSION) readline module - DEPENDS:=+python3-light +libreadline +libncursesw + DEPENDS:=+python3-light +libreadline endef $(eval $(call Py3BasePackage,python3-readline, \ -- cgit