diff options
-rw-r--r-- | python/babel/babel.SlackBuild | 10 | ||||
-rw-r--r-- | python/babel/babel.info | 6 |
2 files changed, 11 insertions, 5 deletions
diff --git a/python/babel/babel.SlackBuild b/python/babel/babel.SlackBuild index d2620a6aad..e7df1501c2 100644 --- a/python/babel/babel.SlackBuild +++ b/python/babel/babel.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=babel VERSION=${VERSION:-1.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,6 +54,8 @@ else LIBDIRSUFFIX="" fi +CLDRVER=${CLDRVER:-23.1} + set -e rm -rf $PKG @@ -64,11 +66,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +ln -s $CWD/core.zip cldr/core-$CLDRVER.zip +python setup.py import_cldr python setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python/babel/babel.info b/python/babel/babel.info index b05840f101..0ab9d0f53a 100644 --- a/python/babel/babel.info +++ b/python/babel/babel.info @@ -1,8 +1,10 @@ PRGNAM="babel" VERSION="1.3" HOMEPAGE="http://babel.pocoo.org/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/babel-1.3.tar.gz" -MD5SUM="752ecd661a4002d64ba07384404a2988" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/babel-1.3.tar.gz \ + http://unicode.org/Public/cldr/23.1/core.zip" +MD5SUM="752ecd661a4002d64ba07384404a2988 \ + d44ff35f9b9160becbb3a575468d8a5a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pysetuptools" |