libraries/python-distutils-extra: Updated for version 2.23.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Larry Hajali 2010-12-02 05:21:57 -06:00 committed by Robby Workman
parent 2b4810ca0e
commit 8a2824e200
2 changed files with 8 additions and 17 deletions

View file

@ -5,16 +5,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=python-distutils-extra
VERSION=2.18
VERSION=2.23
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -30,7 +28,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/dist-$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@ -41,15 +39,8 @@ 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
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
)
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 \

View file

@ -1,10 +1,10 @@
PRGNAM="python-distutils-extra"
VERSION="2.18"
VERSION="2.23"
HOMEPAGE="https://launchpad.net/python-distutils-extra"
DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.18/+download/dist-python-distutils-extra-2.18.tar.gz"
MD5SUM="3d96d362ef514c2b2f8c3390c3033fae"
DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.23/+download/python-distutils-extra-2.23.tar.gz"
MD5SUM="9964f888f58097827cbeb9dc9269274a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="rworkman"
APPROVED="Erik Hanson"