summaryrefslogtreecommitdiff
path: root/lang/python/python3/files/python3-package-setuptools.mk
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2021-05-10 10:10:17 +0300
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2021-05-17 13:12:31 +0200
commit8131eaf08c79058aee5626b0918df97a8fd9f881 (patch)
treee651881711b66c35e16618713d83743860dffabf /lang/python/python3/files/python3-package-setuptools.mk
parentbc4ebdc085bdbc0bb82201ffd1f6c9b7788d5553 (diff)
python3: bump version to 3.9.5
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: https://github.com/pypa/setuptools/pull/2544 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> (cherry picked from commit e312275dd9c25c4032b4d2d3623b042905c8bf16)
Diffstat (limited to 'lang/python/python3/files/python3-package-setuptools.mk')
-rw-r--r--lang/python/python3/files/python3-package-setuptools.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/lang/python/python3/files/python3-package-setuptools.mk b/lang/python/python3/files/python3-package-setuptools.mk
index 39d71c1c0..33cf46a19 100644
--- a/lang/python/python3/files/python3-package-setuptools.mk
+++ b/lang/python/python3/files/python3-package-setuptools.mk
@@ -17,13 +17,9 @@ endef
define Py3Package/python3-setuptools/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages
- $(CP) $(PKG_BUILD_DIR)/install-setuptools/usr/bin/easy_install-* $(1)/usr/bin
- $(LN) easy_install-$(PYTHON3_VERSION) $(1)/usr/bin/easy_install-3
- $(LN) easy_install-$(PYTHON3_VERSION) $(1)/usr/bin/easy_install
$(CP) \
$(PKG_BUILD_DIR)/install-setuptools/usr/lib/python$(PYTHON3_VERSION)/site-packages/setuptools \
$(PKG_BUILD_DIR)/install-setuptools/usr/lib/python$(PYTHON3_VERSION)/site-packages/setuptools-$(PYTHON3_SETUPTOOLS_VERSION).dist-info \
- $(PKG_BUILD_DIR)/install-setuptools/usr/lib/python$(PYTHON3_VERSION)/site-packages/easy_install.py \
$(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages
find $(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages/ -path '*/__pycache__/*' -delete
find $(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages/ -type d -name __pycache__ -delete