python/Pyro4: Updated for version 4.35.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Thibaut Notteboom 2015-04-03 16:15:08 +07:00 committed by Willy Sudiarto Raharjo
parent 78ba35e577
commit 402accb9ad
2 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for Pyro4 # Slackware build script for Pyro4
# Copyright 2012-2013 Thibaut Notteboom, Paris, FRANCE # Copyright 2012-2015 Thibaut Notteboom, Paris, FRANCE
# 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
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Pyro4 PRGNAM=Pyro4
VERSION=${VERSION:-4.22} VERSION=${VERSION:-4.35}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -60,19 +60,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.src.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 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -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 python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.txt docs/ examples/ $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE docs/ examples/ TODO.txt $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="Pyro4" PRGNAM="Pyro4"
VERSION="4.22" VERSION="4.35"
HOMEPAGE="http://packages.python.org/Pyro4/" HOMEPAGE="http://pythonhosted.org/Pyro4/"
DOWNLOAD="http://pypi.python.org/packages/source/P/Pyro4/Pyro4-4.22.tar.gz" DOWNLOAD="https://pypi.python.org/packages/source/P/Pyro4/Pyro4-4.35.src.tar.gz"
MD5SUM="8f956abc85006ded7498654e65b248b1" MD5SUM="cbe6cb855f086a0f092ca075005855f3"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""