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 Python-distutils-extra allows to easily integrate themable icons,
icons, scrollkeeper based documentation and gettext based scrollkeeper based documentation and gettext based translations in
translations in your python install and build tools. It can your python install and build tools. It can be used with python's
be used with python's distutils or the enhanced setuptools. distutils or the enhanced setuptools.
This requires pysetuptools. This requires pysetuptools.

View file

@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com> # Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=python-distutils-extra PRGNAM=python-distutils-extra
VERSION=${VERSION:-1.92} VERSION=${VERSION:-2.14}
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -20,9 +20,9 @@ set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf debian rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd debian cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find . \ find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -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 : | \ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
LICENSE doc/{FAQ,README} \ LICENSE PKG-INFO doc/{FAQ,README} \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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 cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG 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" PRGNAM="python-distutils-extra"
VERSION="1.92" VERSION="2.14"
HOMEPAGE="https://launchpad.net/python-distutils-extra" 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" DOWNLOAD="http://launchpad.net/python-distutils-extra/trunk/2.14/+download/python-distutils-extra-2.14.tar.gz"
MD5SUM="d94d6b3f6a642a1f6323f209e6ccc866" MD5SUM="4f56a6a2ede20c6ae219767678e5b88d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali" MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com" EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="rworkman" APPROVED="rworkman"

View file

@ -6,13 +6,13 @@
# leave one space after the ':'. # leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----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: Python-distutils-extra allows to easily integrate themable icons, python-distutils-extra: Python-distutils-extra allows to easily integrate themable icons,
python-distutils-extra: scrollkeeper based documentation and gettext based translations in python-distutils-extra: scrollkeeper based documentation and gettext based translations in
python-distutils-extra: your python install and build tools. It can be used with python's python-distutils-extra: your python install and build tools. It can be used with python's
python-distutils-extra: distutils or the enhanced setuptools. python-distutils-extra: distutils or the enhanced setuptools.
python-distutils-extra: python-distutils-extra:
python-distutils-extra: Homepage: https://launchpad.net/python-distutils-extra python-distutils-extra: Homepage: https://launchpad.net/python-distutils-extra
python-distutils-extra: python-distutils-extra:
python-distutils-extra: python-distutils-extra: