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:
parent
e1203c22e5
commit
1bb534f2d3
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue