diff --git a/package/python-setuptools/0001-add-executable.patch b/package/python-setuptools/0001-add-executable.patch index 9e12c4b628..aaef27ed75 100644 --- a/package/python-setuptools/0001-add-executable.patch +++ b/package/python-setuptools/0001-add-executable.patch @@ -1,4 +1,4 @@ -From 995cf87c0dfc420908847a06661cbae21d16a8f6 Mon Sep 17 00:00:00 2001 +From 6fe6747c7d7509cc1af9667e1dae610657e5ccdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Krause?= Date: Mon, 7 Dec 2015 01:14:33 +0100 Subject: [PATCH] add executable @@ -22,10 +22,10 @@ Signed-off-by: James Hilliard 2 files changed, 11 insertions(+) diff --git a/setuptools/command/install.py b/setuptools/command/install.py -index 741b140c7..5a281237a 100644 +index 19ca60145..c4bb536b9 100644 --- a/setuptools/command/install.py +++ b/setuptools/command/install.py -@@ -39,6 +39,7 @@ class install(orig.install): +@@ -35,6 +35,7 @@ class install(orig.install): distribution: Distribution # override distutils.dist.Distribution with setuptools.dist.Distribution user_options = orig.install.user_options + [ @@ -33,7 +33,7 @@ index 741b140c7..5a281237a 100644 ('old-and-unmanageable', None, "Try not to use this!"), ( 'single-version-externally-managed', -@@ -73,6 +74,7 @@ class install(orig.install): +@@ -67,6 +68,7 @@ class install(orig.install): ) super().initialize_options() @@ -42,7 +42,7 @@ index 741b140c7..5a281237a 100644 self.single_version_externally_managed = None diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py -index 4401cf693..38f5d5092 100644 +index 537181e32..6893e6a8c 100644 --- a/setuptools/command/install_scripts.py +++ b/setuptools/command/install_scripts.py @@ -18,6 +18,13 @@ class install_scripts(orig.install_scripts): @@ -59,13 +59,13 @@ index 4401cf693..38f5d5092 100644 def run(self) -> None: self.run_command("egg_info") -@@ -45,6 +52,8 @@ class install_scripts(orig.install_scripts): - ) +@@ -39,6 +46,8 @@ class install_scripts(orig.install_scripts): + dist = metadata.Distribution.at(path=ei_cmd.egg_info) bs_cmd = self.get_finalized_command('build_scripts') exec_param = getattr(bs_cmd, 'executable', None) + if self.executable is not None: + exec_param = self.executable - writer = ei.ScriptWriter + writer = _scripts.ScriptWriter if exec_param == sys.executable: # In case the path to the Python executable contains a space, wrap -- diff --git a/package/python-setuptools/python-setuptools.hash b/package/python-setuptools/python-setuptools.hash index b5bac10fe2..d0ed270e9c 100644 --- a/package/python-setuptools/python-setuptools.hash +++ b/package/python-setuptools/python-setuptools.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools/json -md5 652d999eca1412525c01e4c5b6e2275b setuptools-79.0.1.tar.gz -sha256 128ce7b8f33c3079fd1b067ecbb4051a66e8526e7b65f6cec075dfc650ddfa88 setuptools-79.0.1.tar.gz +md5 82e1d67883b713f9493659b50d13b436 setuptools-80.9.0.tar.gz +sha256 f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c setuptools-80.9.0.tar.gz # Locally computed sha256 checksums sha256 86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741 LICENSE diff --git a/package/python-setuptools/python-setuptools.mk b/package/python-setuptools/python-setuptools.mk index 1ee5448100..e013000c57 100644 --- a/package/python-setuptools/python-setuptools.mk +++ b/package/python-setuptools/python-setuptools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_VERSION = 79.0.1 +PYTHON_SETUPTOOLS_VERSION = 80.9.0 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz -PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/bb/71/b6365e6325b3290e14957b2c3a804a529968c77a049b2ed40c095f749707 +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/18/5d/3bf57dcd21979b887f014ea83c24ae194cfcd12b9e0fda66b957c69d1fca PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python