diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-12-27 23:52:04 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-07 11:13:58 -0600 |
commit | a770318666d89995d580b00ee43babb2c0e5986c (patch) | |
tree | 9ec751e66bf7881b75b26b7ed596920eb39cdbb1 | |
parent | b1a4632d2a0c44ebfbfecf96407d862a0ed767a8 (diff) |
python/babel: Added missing data files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 d2620a6aad5f..e7df1501c268 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 b05840f1013b..0ab9d0f53afb 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" |