Skip to content

Commit

Permalink
python/foolscap: Updated for version 0.7.0.
Browse files Browse the repository at this point in the history
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
  • Loading branch information
Markus Reichelt authored and willysr committed Oct 3, 2014
1 parent ead0d7c commit c7f1ff9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
16 changes: 7 additions & 9 deletions python/foolscap/foolscap.SlackBuild
Expand Up @@ -3,7 +3,7 @@
# Slackware build script for foolscap.

# 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.
#
# Redistribution and use of this script, with or without modification, is
Expand All @@ -27,7 +27,7 @@
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115

PRGNAM=foolscap
VERSION=${VERSION:-0.6.4}
VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

Expand Down Expand Up @@ -68,20 +68,18 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

python setup.py install --root=$PKG

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ChangeLog NEWS LICENSE README doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog* NEWS LICENSE README doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
Expand Down
6 changes: 3 additions & 3 deletions python/foolscap/foolscap.info
@@ -1,8 +1,8 @@
PRGNAM="foolscap"
VERSION="0.6.4"
VERSION="0.7.0"
HOMEPAGE="http://foolscap.lothar.com/trac"
DOWNLOAD="http://foolscap.lothar.com/releases/foolscap-0.6.4.tar.gz"
MD5SUM="0aedae62a0be50da4f89d80b5b30c8a2"
DOWNLOAD="http://foolscap.lothar.com/releases/foolscap-0.7.0.tar.gz"
MD5SUM="7f2da939a4d5be54737852b26868eb8c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-twisted"
Expand Down

0 comments on commit c7f1ff9

Please sign in to comment.