forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refreshed Python patches. Updated pip & setuptools version. For pip, patch '001-pep517-pyc-fix.patch' was reworked. Also, the current version of the bundled pip (21.1.1) no longer supports Python2, so the 'py2.py3' suffix gets replaced with just py3. For setuptools, there is no longer a script/module: pypa/setuptools#2544 Signed-off-by: Alexandru Ardelean <[email protected]>
- Loading branch information
Showing
9 changed files
with
23 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,12 @@ include $(TOPDIR)/rules.mk | |
include ../python3-version.mk | ||
|
||
PKG_NAME:=python3 | ||
PKG_RELEASE:=2 | ||
PKG_RELEASE:=1 | ||
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:=4b0e6644a76f8df864ae24ac500a51bbf68bd098f6a173e27d3b61cdca9aa134 | ||
PKG_HASH:=0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83 | ||
|
||
PKG_MAINTAINER:=Alexandru Ardelean <[email protected]>, Jeffery To <[email protected]> | ||
PKG_LICENSE:=Python/2.0 | ||
|
@@ -201,7 +201,7 @@ define Build/Compile/python3-pip | |
--ignore-installed \ | ||
--root=$(PKG_BUILD_DIR)/install-pip \ | ||
--prefix=/usr \ | ||
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-$(PYTHON3_PIP_VERSION)-py2.py3-none-any.whl | ||
$(PKG_BUILD_DIR)/Lib/ensurepip/_bundled/pip-$(PYTHON3_PIP_VERSION)-py3-none-any.whl | ||
$(call PatchDir,$(PKG_BUILD_DIR)/install-pip/usr/lib/python$(PYTHON3_VERSION)/site-packages,./patches-pip,) | ||
endef | ||
endif # CONFIG_PACKAGE_python3-pip | ||
|
@@ -338,7 +338,6 @@ endef | |
define Host/Install | ||
$(if $(wildcard $(HOST_PYTHON3_PKG_DIR)/.setuptools_installed_$(PYTHON3_SETUPTOOLS_VERSION)-$(PYTHON3_SETUPTOOLS_PKG_RELEASE)),, | ||
rm -rf \ | ||
$(HOST_PYTHON3_PKG_DIR)/easy_install.py \ | ||
$(HOST_PYTHON3_PKG_DIR)/pkg_resources \ | ||
$(HOST_PYTHON3_PKG_DIR)/setuptools \ | ||
$(HOST_PYTHON3_PKG_DIR)/setuptools-* \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
lang/python/python3/patches/003-do-not-run-distutils-tests.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lang/python/python3/patches/025-choose-python-config-version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters