summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches
diff options
context:
space:
mode:
authorTianling Shen <cnsztl@immortalwrt.org>2023-10-11 09:48:04 +0800
committerGitHub <noreply@github.com>2023-10-11 09:48:04 +0800
commitd2f1665b06f52c91a052063640819884be5d07e0 (patch)
tree3f94e6913310cf5b2dc10976cdded0fe8e4ba7bd /lang/python/python3/patches
parente8597c2a7f08c59bf05acdaba6be0c1e73b99628 (diff)
parent2aba43afe9e1bf5d9dc5e3578af7f82f6da51b2b (diff)
Merge pull request #22343 from jefferyto/python-3.11.6
python3: Update to 3.11.6, refresh patches
Diffstat (limited to 'lang/python/python3/patches')
-rw-r--r--lang/python/python3/patches/003-do-not-run-compileall.patch4
-rw-r--r--lang/python/python3/patches/025-choose-python-config-version.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/python3/patches/003-do-not-run-compileall.patch b/lang/python/python3/patches/003-do-not-run-compileall.patch
index 9bb10fac7..ed79314f0 100644
--- a/lang/python/python3/patches/003-do-not-run-compileall.patch
+++ b/lang/python/python3/patches/003-do-not-run-compileall.patch
@@ -1,6 +1,6 @@
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -2123,6 +2123,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
+@@ -2128,6 +2128,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 \
-@@ -2150,6 +2151,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
+@@ -2155,6 +2156,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
diff --git a/lang/python/python3/patches/025-choose-python-config-version.patch b/lang/python/python3/patches/025-choose-python-config-version.patch
index aa56d8942..ca484f97b 100644
--- a/lang/python/python3/patches/025-choose-python-config-version.patch
+++ b/lang/python/python3/patches/025-choose-python-config-version.patch
@@ -1,6 +1,6 @@
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -2168,7 +2168,7 @@ python-config: $(srcdir)/Misc/python-con
+@@ -2173,7 +2173,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).