python3: Update to 3.11.7, refresh patches
authorJeffery To <[email protected]>
Mon, 11 Dec 2023 06:34:24 +0000 (14:34 +0800)
committerTianling Shen <[email protected]>
Wed, 13 Dec 2023 06:16:39 +0000 (14:16 +0800)
Signed-off-by: Jeffery To <[email protected]>
lang/python/python3-version.mk
lang/python/python3/Makefile
lang/python/python3/patches/003-do-not-run-compileall.patch
lang/python/python3/patches/025-choose-python-config-version.patch
lang/python/python3/patches/100-gh-95855-Refactor-platform-triplet-detection-code-GH-107221.patch

index 6b21bc61e7ee148c1dc211f8d5d030e4469cb587..555b1804c0e2ddd4559ea0af36ec1fd61f04bb45 100644 (file)
@@ -8,7 +8,7 @@
 # Note: keep in sync with setuptools & pip
 PYTHON3_VERSION_MAJOR:=3
 PYTHON3_VERSION_MINOR:=11
-PYTHON3_VERSION_MICRO:=6
+PYTHON3_VERSION_MICRO:=7
 
 PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
 
index c5557057616461f56ba1d4dafa7173ad774d03f1..f34fc86951d9edd5dcdc64ab98e2e6e4fd5cfccf 100644 (file)
@@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
 
 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
-PKG_HASH:=0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38
+PKG_HASH:=18e1aa7e66ff3a58423d59ed22815a6954e53342122c45df20c96877c062b9b7
 
 PKG_MAINTAINER:=Jeffery To <[email protected]>
 PKG_LICENSE:=Python-2.0.1 0BSD
index ed79314f0438f99f780b1414836aeaf771186649..7c0044ff891b7ba9c895a660c56cbedc18db758e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Makefile.pre.in
 +++ b/Makefile.pre.in
-@@ -2128,6 +2128,7 @@ libinstall:      all $(srcdir)/Modules/xxmodu
+@@ -2133,6 +2133,7 @@ libinstall:      all $(srcdir)/Modules/xxmodu
                $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
                        $(DESTDIR)$(LIBDEST)/distutils/tests ; \
        fi
@@ -8,7 +8,7 @@
        -PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
                $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
                -j0 -d $(LIBDEST) -f \
-@@ -2155,6 +2156,7 @@ libinstall:      all $(srcdir)/Modules/xxmodu
+@@ -2160,6 +2161,7 @@ libinstall:      all $(srcdir)/Modules/xxmodu
                $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
                -j0 -d $(LIBDEST)/site-packages -f \
                -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
index ca484f97b40753e74f7ac3e3cd5fbd61979825cb..3c74874c91ed7f6285e84033430d8e3f38e6539c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Makefile.pre.in
 +++ b/Makefile.pre.in
-@@ -2173,7 +2173,7 @@ python-config: $(srcdir)/Misc/python-con
+@@ -2178,7 +2178,7 @@ python-config: $(srcdir)/Misc/python-con
        @ # On Darwin, always use the python version of the script, the shell
        @ # version doesn't use the compiler customizations that are provided
        @ # in python (_osx_support.py).
index c3e95a3f40b0c2ac197a68a254b135daa1c33f74..8f1ae5bdc31ae97d822dd8414e9ed98c35a78919 100644 (file)
@@ -289,7 +289,7 @@ Signed-off-by: Jeffery To <[email protected]>
 +#endif
 --- a/configure.ac
 +++ b/configure.ac
-@@ -917,180 +917,14 @@ fi
+@@ -925,180 +925,14 @@ fi
  
  
  AC_MSG_CHECKING([for the platform triplet based on compiler characteristics])