python-ply: fix footprint

This commit is contained in:
Danny Rawlins 2019-07-27 23:50:10 +10:00
parent 6101b020e1
commit 50e87004c1
3 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,6 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python2.7/
drwxr-xr-x root/root usr/lib/python2.7/site-packages/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/ply-3.11-py2.7.egg-info
drwxr-xr-x root/root usr/lib/python2.7/site-packages/ply/
-rw-r--r-- root/root usr/lib/python2.7/site-packages/ply/__init__.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/ply/__init__.pyc

View File

@ -1,4 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wPXuyi43gtgp9HDnmFcsBEOZIQOg5GfjOr918vXPxklorJh2wae5e+taLonVcsDpWhVbua1SEyQqM9NgHFb2go=
SHA256 (Pkgfile) = f49561a3949ec850f4e02993292cda192b50f75c8c616b1671410e4e7914b8fa
RWSagIOpLGJF31UxiGFcYYcJHf/z+8SL6Sx9kMgHT8VUkw6I6Kpmr4lcte9fs9PDeu6WHOElpMVCAXgQlhPefnAl3a271dpUXQ8=
SHA256 (Pkgfile) = b817472da0996ff407d4d33dc3c0faeb219174ed96dc014e5b346d81f2c401df
SHA256 (.footprint) = c002703c6a70dec6ea6069514ba09b87122b23f811b023cd6b35edf75c3dc165
SHA256 (ply-3.11.tar.gz) = 00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3

View File

@ -10,6 +10,9 @@ source=(http://www.dabeaz.com/ply/ply-$version.tar.gz)
build() {
cd ply-$version
python setup.py build
python setup.py build
python setup.py install --prefix=/usr --root=$PKG --optimize=1
find $PKG/usr/lib/python*/site-packages/ -maxdepth 1 -type f \
-name "${name#*-}-$version-py*.egg-info" -delete
}