diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2012-12-02 22:07:25 -0600 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-11 16:20:49 -0500 |
commit | 9de268421a164e3ca90d1789822369cadcc094ad (patch) | |
tree | b3fef04851664cef36a8b6975fa42b0c5e02696a /python/python-distutils-extra/python-distutils-extra.SlackBuild | |
parent | e8c2184dd8a46e5f2325cb61f96c92533fd3b8cb (diff) |
python/python-distutils-extra: Updated for version 2.37.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python/python-distutils-extra/python-distutils-extra.SlackBuild')
-rw-r--r-- | python/python-distutils-extra/python-distutils-extra.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/python/python-distutils-extra/python-distutils-extra.SlackBuild b/python/python-distutils-extra/python-distutils-extra.SlackBuild index ef45067248438..b4b59e6dec2cf 100644 --- a/python/python-distutils-extra/python-distutils-extra.SlackBuild +++ b/python/python-distutils-extra/python-distutils-extra.SlackBuild @@ -5,7 +5,7 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=python-distutils-extra -VERSION=2.32 +VERSION=${VERSION:-2.37} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,15 +37,20 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Build extra options. +cat >> setup.cfg << EOF +[build] +i18n=True +icons=True +EOF + python setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - LICENSE PKG-INFO doc/{FAQ,README} \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE PKG-INFO doc/{FAQ,README} $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |