python/python3-babel: Use versioned CLDR source file.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2021-01-10 10:20:13 +01:00 committed by Willy Sudiarto Raharjo
parent e1203c22e5
commit 1bb534f2d3
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ find -L . \
sed -i "s/getiterator/iter/" scripts/import_cldr.py # support Python 3.9
sed -i "s/elem.getchildren()/list(elem)/" scripts/import_cldr.py # support Python 3.9
ln -s $CWD/core.zip cldr/cldr-core-$CLDRVER.zip
ln -s $CWD/cldr-common-$CLDRVER.0.zip cldr/cldr-core-$CLDRVER.zip
python3 setup.py import_cldr
python3 setup.py install --root=$PKG

View File

@ -2,7 +2,7 @@ PRGNAM="python3-babel"
VERSION="2.9.0"
HOMEPAGE="http://babel.pocoo.org/"
DOWNLOAD="https://github.com/python-babel/babel/archive/v2.9.0/babel-2.9.0.tar.gz \
https://unicode.org/Public/cldr/37/core.zip"
https://unicode.org/Public/cldr/37/cldr-common-37.0.zip"
MD5SUM="91cd179d285e0e2e5392a8ba3443931d \
40c0f5fbf8e2e2ad26047ecce6f6b07f"
DOWNLOAD_x86_64=""