libraries/python-distutils-extra: Updated for version 2.14

This commit is contained in:
Larry Hajali 2010-05-13 00:33:18 +02:00 committed by Robby Workman
parent d6ddf063e0
commit 5ce07c1d4e
4 changed files with 19 additions and 17 deletions

View file

@ -1,6 +1,6 @@
Python-distutils-extra allows to easily integrate themable
icons, scrollkeeper based documentation and gettext based
translations in your python install and build tools. It can
be used with python's distutils or the enhanced setuptools.
Python-distutils-extra allows to easily integrate themable icons,
scrollkeeper based documentation and gettext based translations in
your python install and build tools. It can be used with python's
distutils or the enhanced setuptools.
This requires pysetuptools.

View file

@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=python-distutils-extra
VERSION=${VERSION:-1.92}
VERSION=${VERSION:-2.14}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -20,9 +20,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf debian
tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz
cd debian
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@ -36,12 +36,12 @@ python setup.py install --root=$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
xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE doc/{FAQ,README} \
LICENSE PKG-INFO doc/{FAQ,README} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@ -49,4 +49,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="python-distutils-extra"
VERSION="1.92"
VERSION="2.14"
HOMEPAGE="https://launchpad.net/python-distutils-extra"
DOWNLOAD="http://ftp.de.debian.org/debian/pool/main/p/python-distutils-extra/python-distutils-extra_1.92.tar.gz"
MD5SUM="d94d6b3f6a642a1f6323f209e6ccc866"
DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.14/+download/python-distutils-extra-2.14.tar.gz"
MD5SUM="4f56a6a2ede20c6ae219767678e5b88d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="rworkman"

View file

@ -6,7 +6,7 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
python-distutils-extra: python-distutils-extra (Extra stuff for python distutils)
python-distutils-extra: python-distutils-extra
python-distutils-extra:
python-distutils-extra: Python-distutils-extra allows to easily integrate themable icons,
python-distutils-extra: scrollkeeper based documentation and gettext based translations in