From 4e52a48dfe4b24a1cb6014aceafc4b4d92ca938c Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 17 Aug 2024 11:40:06 +0200 Subject: [PATCH] python-setuptools: Update to 72.2.0 --- mingw-w64-python-setuptools/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mingw-w64-python-setuptools/PKGBUILD b/mingw-w64-python-setuptools/PKGBUILD index fa2f815e39..e404e1c73a 100644 --- a/mingw-w64-python-setuptools/PKGBUILD +++ b/mingw-w64-python-setuptools/PKGBUILD @@ -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 }