From 94e92b19015b4e575ca228f305f4567f08ea2854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Thu, 13 May 2010 00:25:22 +0200 Subject: development/pysetuptools: Updated for version 0.6c11 --- development/pysetuptools/pysetuptools.SlackBuild | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'development/pysetuptools/pysetuptools.SlackBuild') diff --git a/development/pysetuptools/pysetuptools.SlackBuild b/development/pysetuptools/pysetuptools.SlackBuild index 14890bfb8c..37105795a2 100644 --- a/development/pysetuptools/pysetuptools.SlackBuild +++ b/development/pysetuptools/pysetuptools.SlackBuild @@ -9,9 +9,11 @@ # Mofified by the SlackBuilds.org project +# Maintained by Audrius Kažukauskas + PRGNAM=pysetuptools SRC_NAME=setuptools -VERSION=0.6c9 +VERSION=0.6c11 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -32,15 +34,12 @@ cd $SRC_NAME-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -python setup.py install --root=$PKG +# Don't need this. +rm -f setuptools/*.exe -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +python setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION install -m 0644 *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -48,4 +47,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3