diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/pyparsing/pyparsing.SlackBuild | 17 | ||||
-rw-r--r-- | development/pyparsing/pyparsing.info | 6 |
2 files changed, 14 insertions, 9 deletions
diff --git a/development/pyparsing/pyparsing.SlackBuild b/development/pyparsing/pyparsing.SlackBuild index ee7db34c06..973324c493 100644 --- a/development/pyparsing/pyparsing.SlackBuild +++ b/development/pyparsing/pyparsing.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyparsing -# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pyparsing -VERSION=1.5.1 +VERSION=1.5.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,12 +50,17 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -python setup.py bdist +# disabling pyparsing for python3 +sed -i "s|\"pyparsing\", \"pyparsing_py3\"|\"pyparsing\"|" \ + setup.py -tar xzf dist/$PRGNAM-$VERSION.linux-i686.tar.gz -C $PKG +python setup.py install --root=$PKG find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \ | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/development/pyparsing/pyparsing.info b/development/pyparsing/pyparsing.info index d14e1237f6..3e40be1583 100644 --- a/development/pyparsing/pyparsing.info +++ b/development/pyparsing/pyparsing.info @@ -1,8 +1,8 @@ PRGNAM="pyparsing" -VERSION="1.5.1" +VERSION="1.5.2" HOMEPAGE="http://pyparsing.wikispaces.com/" -DOWNLOAD="http://downloads.sourceforge.net/pyparsing/pyparsing-1.5.1.tar.gz" -MD5SUM="d0777821fc4c5f2474cda1081229d76b" +DOWNLOAD="http://downloads.sourceforge.net/pyparsing/pyparsing-1.5.2.tar.gz" +MD5SUM="13aed3cb21a427f8aeb0fe7ca472ba42" MAINTAINER="ppr:kut" EMAIL="pprkut@liwjatan.at" APPROVED="dsomero" |