setuptools: remove included .exe manually
SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES no longer gets rid of all of them, so do it manually
This commit is contained in:
parent
0fe9e669bf
commit
abfbbb1f83
@ -22,10 +22,6 @@ conflicts=("python3-${_realname}")
|
||||
source=("${_realname}-${pkgver}.tar.gz::https://github.com/pypa/setuptools/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('3b52e15cc1de60437f0819c73a817e1bed283961c81e9b8e5c6d41cc4999a6ba')
|
||||
|
||||
prepare() {
|
||||
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/setuptools-${pkgver}"
|
||||
|
||||
@ -49,4 +45,7 @@ package() {
|
||||
cd "${srcdir}/setuptools-${pkgver}"
|
||||
|
||||
python setup.py install --prefix=/usr --root="$pkgdir" --skip-build
|
||||
|
||||
# Remove all .exe files
|
||||
find "$pkgdir" -type f -name '*.exe' -delete
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user