aboutsummaryrefslogtreecommitdiff
path: root/libraries/python-distutils-extra/python-distutils-extra.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-10 23:01:01 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:20 -0500
commit6ffe33dc12d04d6187bc1a2e1c5d9ee06ace7ed4 (patch)
tree92983757bd1b7f5b7c0a6260b847fb183085a70b /libraries/python-distutils-extra/python-distutils-extra.SlackBuild
parentf00dc54983aaef69f5463a4415fe98d358b502f8 (diff)
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.SlackBuild7
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 8e61ca93e8193..29c7a3bda3956 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