aboutsummaryrefslogtreecommitdiff
path: root/python/python3-babel/python3-babel.SlackBuild
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2022-04-28 15:41:35 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-30 13:52:10 +0700
commit3295c91591400e4cc48fb222f10d9322212d903f (patch)
treec14ed392e83d654d7296163d72572966fbae263f /python/python3-babel/python3-babel.SlackBuild
parentee5032b5432fe76b3e5c2a19f26d91388ed034f7 (diff)
python/python3-babel: updated for version 2.10.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-babel/python3-babel.SlackBuild')
-rw-r--r--python/python3-babel/python3-babel.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/python3-babel/python3-babel.SlackBuild b/python/python3-babel/python3-babel.SlackBuild
index a5841440bb..4b5aaaf07e 100644
--- a/python/python3-babel/python3-babel.SlackBuild
+++ b/python/python3-babel/python3-babel.SlackBuild
@@ -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