From 6ffe33dc12d04d6187bc1a2e1c5d9ee06ace7ed4 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Mon, 10 May 2010 23:01:01 -0500 Subject: libraries/python-distutils-extra: Updated for version 2.18. --- libraries/python-distutils-extra/python-distutils-extra.SlackBuild | 7 +++++-- libraries/python-distutils-extra/python-distutils-extra.info | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'libraries') 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 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 794379e12c2fc..6ca22ea176114 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" -- cgit v1.2.3