summaryrefslogtreecommitdiff
path: root/libraries
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
parentf00dc54983aaef69f5463a4415fe98d358b502f8 (diff)
downloadslackbuilds-6ffe33dc12d04d6187bc1a2e1c5d9ee06ace7ed4.tar.gz
libraries/python-distutils-extra: Updated for version 2.18.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/python-distutils-extra/python-distutils-extra.SlackBuild7
-rw-r--r--libraries/python-distutils-extra/python-distutils-extra.info6
2 files changed, 8 insertions, 5 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
diff --git a/libraries/python-distutils-extra/python-distutils-extra.info b/libraries/python-distutils-extra/python-distutils-extra.info
index 794379e12c..6ca22ea176 100644
--- a/libraries/python-distutils-extra/python-distutils-extra.info
+++ b/libraries/python-distutils-extra/python-distutils-extra.info
@@ -1,8 +1,8 @@
PRGNAM="python-distutils-extra"
-VERSION="2.14"
+VERSION="2.18"
HOMEPAGE="https://launchpad.net/python-distutils-extra"
-DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.14/+download/python-distutils-extra-2.14.tar.gz"
-MD5SUM="4f56a6a2ede20c6ae219767678e5b88d"
+DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.18/+download/dist-python-distutils-extra-2.18.tar.gz"
+MD5SUM="3d96d362ef514c2b2f8c3390c3033fae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"