mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
python3: bump to 3.14.5
This is the latest 3.14.x point release with assorted bug fixes from upstream. PYTHON3_PIP_VERSION is bumped from 26.0.1 to 26.1.1 to match the pip wheel bundled in the 3.14.5 source tarball; the host build's ensurepip lookup of pip-$(PYTHON3_PIP_VERSION).whl otherwise fails. The set of OpenWrt-side patches still applies against the new source; only quilt context-line offsets needed refreshing for the patches that touch Makefile.pre.in. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
bc295ef790
commit
3fddbe2e07
@@ -8,9 +8,9 @@
|
|||||||
# Note: keep in sync with pip
|
# Note: keep in sync with pip
|
||||||
PYTHON3_VERSION_MAJOR:=3
|
PYTHON3_VERSION_MAJOR:=3
|
||||||
PYTHON3_VERSION_MINOR:=14
|
PYTHON3_VERSION_MINOR:=14
|
||||||
PYTHON3_VERSION_MICRO:=4
|
PYTHON3_VERSION_MICRO:=5
|
||||||
|
|
||||||
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
|
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
|
||||||
|
|
||||||
PYTHON3_PIP_PKG_RELEASE:=1
|
PYTHON3_PIP_PKG_RELEASE:=1
|
||||||
PYTHON3_PIP_VERSION:=26.0.1
|
PYTHON3_PIP_VERSION:=26.1.1
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
|
|||||||
|
|
||||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
||||||
PKG_HASH:=d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8
|
PKG_HASH:=7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6
|
||||||
|
|
||||||
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||||
PKG_LICENSE:=Python-2.0.1 0BSD
|
PKG_LICENSE:=Python-2.0.1 0BSD
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/Makefile.pre.in
|
--- a/Makefile.pre.in
|
||||||
+++ b/Makefile.pre.in
|
+++ b/Makefile.pre.in
|
||||||
@@ -2811,6 +2811,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
|
@@ -2813,6 +2813,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
|
||||||
echo "Applying app store compliance patch"; \
|
echo "Applying app store compliance patch"; \
|
||||||
patch --force --reject-file "$(abs_builddir)/app-store-compliance.rej" --strip 2 --directory "$(DESTDIR)$(LIBDEST)" --input "$(abs_srcdir)/$(APP_STORE_COMPLIANCE_PATCH)" || true ; \
|
patch --force --reject-file "$(abs_builddir)/app-store-compliance.rej" --strip 2 --directory "$(DESTDIR)$(LIBDEST)" --input "$(abs_srcdir)/$(APP_STORE_COMPLIANCE_PATCH)" || true ; \
|
||||||
fi
|
fi
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
@ # Build PYC files for the 3 optimization levels (0, 1, 2)
|
@ # Build PYC files for the 3 optimization levels (0, 1, 2)
|
||||||
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||||
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
|
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
|
||||||
@@ -2821,6 +2822,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
|
@@ -2823,6 +2824,7 @@ libinstall: all $(srcdir)/Modules/xxmodu
|
||||||
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
|
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
|
||||||
-o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST)/site-packages -f \
|
-o 0 -o 1 -o 2 $(COMPILEALL_OPTS) -d $(LIBDEST)/site-packages -f \
|
||||||
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
|
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/Makefile.pre.in
|
--- a/Makefile.pre.in
|
||||||
+++ b/Makefile.pre.in
|
+++ b/Makefile.pre.in
|
||||||
@@ -850,6 +850,7 @@ profile-gen-stamp: profile-clean-stamp
|
@@ -852,6 +852,7 @@ profile-gen-stamp: profile-clean-stamp
|
||||||
|
|
||||||
# Run task with profile generation build to create profile information.
|
# Run task with profile generation build to create profile information.
|
||||||
profile-run-stamp:
|
profile-run-stamp:
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
@echo "Running code to generate profile data (this can take a while):"
|
@echo "Running code to generate profile data (this can take a while):"
|
||||||
# First, we need to create a clean build with profile generation
|
# First, we need to create a clean build with profile generation
|
||||||
# enabled.
|
# enabled.
|
||||||
@@ -863,6 +864,7 @@ profile-run-stamp:
|
@@ -865,6 +866,7 @@ profile-run-stamp:
|
||||||
# This is an expensive target to build and it does not have proper
|
# This is an expensive target to build and it does not have proper
|
||||||
# makefile dependency information. So, we create a "stamp" file
|
# makefile dependency information. So, we create a "stamp" file
|
||||||
# to record its completion and avoid re-running it.
|
# to record its completion and avoid re-running it.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/Makefile.pre.in
|
--- a/Makefile.pre.in
|
||||||
+++ b/Makefile.pre.in
|
+++ b/Makefile.pre.in
|
||||||
@@ -2837,7 +2837,7 @@ python-config: $(srcdir)/Misc/python-con
|
@@ -2839,7 +2839,7 @@ python-config: $(srcdir)/Misc/python-con
|
||||||
@ # On Darwin, always use the python version of the script, the shell
|
@ # On Darwin, always use the python version of the script, the shell
|
||||||
@ # version doesn't use the compiler customizations that are provided
|
@ # version doesn't use the compiler customizations that are provided
|
||||||
@ # in python (_osx_support.py).
|
@ # in python (_osx_support.py).
|
||||||
|
|||||||
Reference in New Issue
Block a user