python-setuptools: Update to 78.1.0 (#23808)

patch refresh
This commit is contained in:
Christoph Reiter 2025-03-30 13:28:03 +02:00 committed by GitHub
parent 2272a99a9c
commit cc4a5c175a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 9 deletions

View File

@ -1,8 +1,6 @@
diff --git a/setuptools/_distutils/cygwinccompiler.py b/setuptools/_distutils/cygwinccompiler.py --- setuptools-78.1.0/setuptools/_distutils/compilers/C/cygwin.py.orig 2025-03-25 23:49:14.000000000 +0100
index 3c67524e6d..2159c7b875 100644 +++ setuptools-78.1.0/setuptools/_distutils/compilers/C/cygwin.py 2025-03-30 09:07:37.718193800 +0200
--- a/setuptools/_distutils/cygwinccompiler.py @@ -111,6 +111,18 @@
+++ b/setuptools/_distutils/cygwinccompiler.py
@@ -109,6 +109,18 @@ def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
self.spawn(["windres", "-i", src, "-o", obj]) self.spawn(["windres", "-i", src, "-o", obj])
except DistutilsExecError as msg: except DistutilsExecError as msg:
raise CompileError(msg) raise CompileError(msg)
@ -21,7 +19,7 @@ index 3c67524e6d..2159c7b875 100644
else: # for other files use the C-compiler else: # for other files use the C-compiler
try: try:
if self.detect_language(src) == 'c++': if self.detect_language(src) == 'c++':
@@ -235,7 +247,7 @@ def out_extensions(self): @@ -236,7 +248,7 @@
""" """
return { return {
**super().out_extensions, **super().out_extensions,

View File

@ -4,7 +4,7 @@
_realname=setuptools _realname=setuptools
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=75.8.0 pkgver=78.1.0
pkgrel=1 pkgrel=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages (mingw-w64)" pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages (mingw-w64)"
arch=('any') arch=('any')
@ -53,7 +53,7 @@ source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realna
'0009-launcher-revert-symlink-resolve.patch' '0009-launcher-revert-symlink-resolve.patch'
'0010-support-py_limited_api.patch' '0010-support-py_limited_api.patch'
'0011-add-support-for-windmc.patch') '0011-add-support-for-windmc.patch')
sha256sums=('c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6' sha256sums=('18fd474d4a82a5f83dac888df697af65afa82dec7323d09c3e37d1f14288da54'
'7b196884ac0151801f9638dabbf9a789fa9070a3b07a4c9e625c5523e8d47387' '7b196884ac0151801f9638dabbf9a789fa9070a3b07a4c9e625c5523e8d47387'
'fa54581e3dddb9f4edd332dedbc101f48939a9ca5878e13cf9cf9b3408bc8c22' 'fa54581e3dddb9f4edd332dedbc101f48939a9ca5878e13cf9cf9b3408bc8c22'
'39503256652c7c23ce07e26539e8123d269eb5c09f5d9b07e5784b2d7fb8c96f' '39503256652c7c23ce07e26539e8123d269eb5c09f5d9b07e5784b2d7fb8c96f'
@ -62,7 +62,7 @@ sha256sums=('c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6'
'cb897bc7292a733167fa48b5ca18323d76d3374683a7f5e9986c9df63f5332cc' 'cb897bc7292a733167fa48b5ca18323d76d3374683a7f5e9986c9df63f5332cc'
'391d682a8b8832d7e4be3ac0c3327cfe3c8e520f16e25b43d4441df8036bf147' '391d682a8b8832d7e4be3ac0c3327cfe3c8e520f16e25b43d4441df8036bf147'
'ccb276f9d2d26587d29ecfd4d47a3d4e96fb58738cfaf3a600a8b942c79fc439' 'ccb276f9d2d26587d29ecfd4d47a3d4e96fb58738cfaf3a600a8b942c79fc439'
'e589b5551a35b17d028d6acec4981d6ff48ee2041ec26c9b84a0cce5e661e728') '5732980fe5d94f3371ccd0609b160e3b74f88ab71829d0e8b37f6039f4508b79')
prepare() { prepare() {
cd "${srcdir}/setuptools-${pkgver}" cd "${srcdir}/setuptools-${pkgver}"