diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-10 23:01:01 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-16 22:24:20 -0500 |
commit | 6ffe33dc12d04d6187bc1a2e1c5d9ee06ace7ed4 (patch) | |
tree | 92983757bd1b7f5b7c0a6260b847fb183085a70b /libraries/python-distutils-extra/python-distutils-extra.SlackBuild | |
parent | f00dc54983aaef69f5463a4415fe98d358b502f8 (diff) | |
download | slackbuilds-6ffe33dc12d04d6187bc1a2e1c5d9ee06ace7ed4.tar.gz |
libraries/python-distutils-extra: Updated for version 2.18.
Diffstat (limited to 'libraries/python-distutils-extra/python-distutils-extra.SlackBuild')
-rw-r--r-- | libraries/python-distutils-extra/python-distutils-extra.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/python-distutils-extra/python-distutils-extra.SlackBuild b/libraries/python-distutils-extra/python-distutils-extra.SlackBuild index 8e61ca93e8..29c7a3bda3 100644 --- a/libraries/python-distutils-extra/python-distutils-extra.SlackBuild +++ b/libraries/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=${VERSION:-2.14} +VERSION=2.18 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -21,7 +21,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/dist-$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -32,6 +32,9 @@ find . \ python setup.py install --root=$PKG +# Get rid of *.pyc files. +find $PKG -name "*.pyc" -exec rm -f {} \; + ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true |