python/foolscap: Updated for version 0.7.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Markus Reichelt 2014-10-03 08:26:30 +07:00 committed by Willy Sudiarto Raharjo
parent ead0d7cfa2
commit c7f1ff9dec
2 changed files with 10 additions and 12 deletions

View file

@ -3,7 +3,7 @@
# Slackware build script for foolscap. # Slackware build script for foolscap.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> # Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
# Copyright 2012 Markus Reichelt, Aachen, DE # Copyright 2012-2014 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -27,7 +27,7 @@
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115 # Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=foolscap PRGNAM=foolscap
VERSION=${VERSION:-0.6.4} VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -68,10 +68,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG python setup.py install --root=$PKG
@ -79,9 +79,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | 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 ChangeLog* NEWS LICENSE README doc/* $PKG/usr/doc/$PRGNAM-$VERSION
ChangeLog NEWS LICENSE README doc/* \
$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
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="foolscap" PRGNAM="foolscap"
VERSION="0.6.4" VERSION="0.7.0"
HOMEPAGE="http://foolscap.lothar.com/trac" HOMEPAGE="http://foolscap.lothar.com/trac"
DOWNLOAD="http://foolscap.lothar.com/releases/foolscap-0.6.4.tar.gz" DOWNLOAD="http://foolscap.lothar.com/releases/foolscap-0.7.0.tar.gz"
MD5SUM="0aedae62a0be50da4f89d80b5b30c8a2" MD5SUM="7f2da939a4d5be54737852b26868eb8c"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="python-twisted" REQUIRES="python-twisted"