python/pyutil: Updated for version 2.0.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Markus Reichelt 2014-10-03 08:42:56 +07:00 committed by Willy Sudiarto Raharjo
parent 445719869e
commit 7c88bab532
2 changed files with 7 additions and 9 deletions

View file

@ -3,7 +3,7 @@
# Slackware build script for pyutil.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
# Copyright 2012-2013 Markus Reichelt, Stolberg (Rhld.), DE
# Copyright 2012-2014 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -27,7 +27,7 @@
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=pyutil
VERSION=${VERSION:-1.9.7}
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -72,7 +72,7 @@ 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 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
@ -80,9 +80,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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING.GPL COPYING.TGPPL.html README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING* README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
#cleanup

View file

@ -1,8 +1,8 @@
PRGNAM="pyutil"
VERSION="1.9.7"
VERSION="2.0.0"
HOMEPAGE="http://pypi.python.org/pypi/pyutil"
DOWNLOAD="http://pypi.python.org/packages/source/p/pyutil/pyutil-1.9.7.tar.gz"
MD5SUM="5a20ccae479d967d3fa11b905d0e10f6"
DOWNLOAD="http://pypi.python.org/packages/source/p/pyutil/pyutil-2.0.0.tar.gz"
MD5SUM="025a06985691133479500139a3729909"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zbase32"