aboutsummaryrefslogtreecommitdiff
path: root/python/python3-babel
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
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')
-rw-r--r--python/python3-babel/python3-babel.SlackBuild8
-rw-r--r--python/python3-babel/python3-babel.info10
2 files changed, 9 insertions, 9 deletions
diff --git a/python/python3-babel/python3-babel.SlackBuild b/python/python3-babel/python3-babel.SlackBuild
index a5841440bb65..4b5aaaf07e55 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
diff --git a/python/python3-babel/python3-babel.info b/python/python3-babel/python3-babel.info
index eb3d77065cbc..ccc177ac0e36 100644
--- a/python/python3-babel/python3-babel.info
+++ b/python/python3-babel/python3-babel.info
@@ -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"