mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
python/python3-babel: updated for version 2.10.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ee5032b543
commit
3295c91591
2 changed files with 9 additions and 9 deletions
|
@ -27,8 +27,8 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=python3-babel
|
||||
VERSION=${VERSION:-2.9.1}
|
||||
CLDRVER=${CLDRVER:-37}
|
||||
VERSION=${VERSION:-2.10.1}
|
||||
CLDRVER=${CLDRVER:-41.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -86,7 +86,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/cldr-common-$CLDRVER.0.zip cldr/cldr-core-$CLDRVER.zip
|
||||
ln -s $CWD/cldr-common-$CLDRVER.zip cldr/
|
||||
python3 setup.py import_cldr
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
|
@ -95,7 +95,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS CHANGES CONTRIBUTING.md LICENSE README.rst \
|
||||
AUTHORS* CHANGES* CONTRIBUTING* LICENSE* README* \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="python3-babel"
|
||||
VERSION="2.9.1"
|
||||
VERSION="2.10.1"
|
||||
HOMEPAGE="http://babel.pocoo.org/"
|
||||
DOWNLOAD="https://github.com/python-babel/babel/archive/v2.9.1/babel-2.9.1.tar.gz \
|
||||
https://unicode.org/Public/cldr/37/cldr-common-37.0.zip"
|
||||
MD5SUM="9654467d6001ae2c9b09888726c5ceb8 \
|
||||
40c0f5fbf8e2e2ad26047ecce6f6b07f"
|
||||
DOWNLOAD="https://github.com/python-babel/babel/archive/v2.10.1/babel-2.10.1.tar.gz \
|
||||
http://unicode.org/Public/cldr/41/cldr-common-41.0.zip"
|
||||
MD5SUM="9483ad57043776324459e7f000aec7f0 \
|
||||
d346710d2beb5133bdb1d14f966ae2cd"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="pytz"
|
||||
|
|
Loading…
Reference in a new issue