meson force remove sdist metadata, wheel metadata will exist if python3-setuptools is installed

This commit is contained in:
Danny Rawlins 2017-11-04 12:13:14 +11:00
parent a7e3094657
commit 79a44b4498
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/YdQOulb/Qrv7QjTX8S37eM3H261kjRft3HgKJnG0Tt1IJARjhQ63+PT6wgiIFo99YaWH/sBNEv58cJiIsdEmg0=
SHA256 (Pkgfile) = a9a2acfe4ef711d559a9717a4e1e3b51f6c13c48eb7519e1062faf0723303f5d
RWSE3ohX2g5d/ZCEQd0VYxmgmy5gyAFt0Dci2GBB30U0d8pNMjLJN4E+Om817tBS4eZPi/Zs18I0mRw09JzUzc/8t6LPmBv5BQw=
SHA256 (Pkgfile) = 3b20b63cd24369fcbee0accae703cba283356cb005a1ab4465eb9043db7552b0
SHA256 (.footprint) = 6e1c245071478a93786ed1e6ecdd758985cf36642be63e365b4ec7b382912e53
SHA256 (meson-0.43.0.tar.gz) = c513eca90e0d70bf14cd1eaafea2fa91cf40a73326a7ff61f08a005048057340

View File

@ -16,4 +16,8 @@ build() {
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
# remove sdist metadata, as wheel metadata will be used with python3-setuptools
# force remove as this file will not exist with pyhton3-setuptools installed
rm -f $PKG/usr/lib/python*/site-packages/meson-$version-py*.egg-info
}