1
0
forked from ports/contrib

python3-babel: updated python syntax

This commit is contained in:
Tim Biermann 2020-11-03 21:00:19 +00:00
parent b352dbfbaf
commit 7030745d7d
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+RqnPtEm+bbrRmzVrjmG8AkHAcD8ascR4D7feDNMV5aDXRQMoJcJhENOYSeKlzs1apMDB81UZhL7KqcEOMZ0gY=
SHA256 (Pkgfile) = ae46657ad12c4bbc0eee4940022dd74f792495a34c36e75ec7133589d8d22b61
RWSagIOpLGJF35pf4yyK6iKOfxVrhpSpTm3R3VZDOdCczvuXmbjgn7ChPU9TVvJSETXqpluBarJs19TUxQvvBLVOaucPLgJGbw8=
SHA256 (Pkgfile) = 77fd5c7218794ffc806be75439056c428a90394fb821feea30000b1c0c17eeb3
SHA256 (.footprint) = 33b84421441ebbb851ead3430638134abf049f1e04351444bd8a99ac97321675
SHA256 (python3-babel-2.8.0.tar.gz) = 2d4d29e73e85afd10ff260579303b5479b332eadc393663089dceb14ff6f8b9c
SHA256 (cldr-common-36.0.zip) = 07279e56c1f4266d140b907ef3ec379dce0a99542303a9628562ac5fe460ba43

View File

@ -27,9 +27,9 @@ unpack_source() {
build() {
cd babel-$version
python3 setup.py import_cldr
python3 setup.py build
python3 setup.py install --root=$PKG \
/usr/bin/python3 setup.py import_cldr
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG \
--optimize=1 \
--skip-build
mv $PKG/usr/bin/pybabel $PKG/usr/bin/py3babel