Merge pull request #21669 from lazka/python-setuptools-72.2.0

python-setuptools: Update to 72.2.0
This commit is contained in:
Christoph Reiter 2024-08-17 17:07:20 +02:00 committed by GitHub
commit f6b382eedb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,8 +8,8 @@ provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}"
"${MINGW_PACKAGE_PREFIX}-python2-setuptools<42.0.2")
replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=70.2.0
pkgrel=2
pkgver=72.2.0
pkgrel=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
@ -54,7 +54,7 @@ source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realna
'0007-windows-arm64.patch'
'0009-launcher-revert-symlink-resolve.patch'
'0010-support-py_limited_api.patch')
sha256sums=('bd63e505105011b25c3c11f753f7e3b8465ea739efddaccef8f0efac2137bac1'
sha256sums=('80aacbf633704e9c8bfa1d99fa5dd4dc59573efcf9e4042c13d3bcef91ac2ef9'
'7b196884ac0151801f9638dabbf9a789fa9070a3b07a4c9e625c5523e8d47387'
'fa54581e3dddb9f4edd332dedbc101f48939a9ca5878e13cf9cf9b3408bc8c22'
'39503256652c7c23ce07e26539e8123d269eb5c09f5d9b07e5784b2d7fb8c96f'
@ -133,5 +133,8 @@ package() {
${MINGW_PREFIX}/bin/python -m installer --prefix=${MINGW_PREFIX} \
--destdir="${pkgdir}" dist/*.whl
# https://github.com/pypa/distutils/pull/282
find "${pkgdir}${MINGW_PREFIX}" -name 'wininst-*.exe' -exec rm {} \;
install -Dm644 LICENSE ${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE
}