aboutsummaryrefslogtreecommitdiff
path: root/python/python3-babel/python3-babel.SlackBuild
diff options
context:
space:
mode:
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