python/babel: Added missing data files.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2013-12-27 23:52:04 +07:00 committed by Erik Hanson
parent b1a4632d2a
commit a770318666
2 changed files with 11 additions and 5 deletions

View file

@ -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 \

View file

@ -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"