python3-ply: updated python syntax

This commit is contained in:
Tim Biermann 2020-11-03 21:05:28 +00:00
parent 83bde53f29
commit 30aa8921ec
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF37d7SHEU3o6nkWBwgEcyASlOuh5kI6BOt2uO3Hlz3tCYvNfSDmCrqrYIMnJ/Zg+uDHnM+v2lrFr8VJmsdDhJGwg=
SHA256 (Pkgfile) = 7c3b120fe00cf1cf398d4c584544bc7a68292da439948351082e1d1ad1808d81
RWSagIOpLGJF3+tIVxadbIk8r8dqj+uU4TSEksQnmgAL6IMUe0ItS54RHy2C0K5f4bVgLTj6tTVnSn/u9Snh9MvTDXVxEq2tnAM=
SHA256 (Pkgfile) = 93e5d51ee6d65f40090b1a308c03cc04d35aca6866f116eee012932c92ce9c79
SHA256 (.footprint) = d39a46b64673367949496f673c97cb3d58310d891111103e6c071842a86056ae
SHA256 (ply-3.11.tar.gz) = 928c5642612f4710b168d3c49c25f6ece2913a5e8d1c5e37fde5d6162fec3fd2

View File

@ -10,9 +10,10 @@ source=(https://github.com/dabeaz/ply/archive/$version/ply-$version.tar.gz)
build() {
cd ply-$version
python3 setup.py build
python3 setup.py install --prefix=/usr \
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build \
--optimize=1
find $PKG/usr/lib/python*/site-packages/ \