Skip to content

Commit 51c41d5

Browse files
authored
setuptools: fix launcher manifest path (#24796)
See pypa/setuptools#5047
1 parent e72a3ec commit 51c41d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mingw-w64-python-setuptools/PKGBUILD

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _realname=setuptools
55
pkgbase=mingw-w64-python-${_realname}
66
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
77
pkgver=80.9.0
8-
pkgrel=1
8+
pkgrel=2
99
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages (mingw-w64)"
1010
arch=('any')
1111
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -84,6 +84,9 @@ prepare() {
8484
# Needed for building pywin32
8585
patch -p1 -i "${srcdir}"/0011-add-support-for-windmc.patch
8686

87+
# https://github.com/pypa/setuptools/pull/5047
88+
mv "setuptools/command/launcher manifest.xml" "setuptools"
89+
8790
cd "${srcdir}"
8891
rm -rf python-build-${MSYSTEM} | true
8992
cp -r "${_realname}-$pkgver" "python-build-${MSYSTEM}"

0 commit comments

Comments
 (0)