diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2018-05-29 08:15:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-29 08:21:19 +0700 |
commit | 138febc2a0bf30db9672786e884fb3506ee2c0e3 (patch) | |
tree | c5390a9b7bd29fa5dbb32f5f7cda7b597a97cfcf | |
parent | 10346692482da6636c96f1ed9e7c58fe596180af (diff) | |
download | slackbuilds-138febc2a0bf30db9672786e884fb3506ee2c0e3.tar.gz |
python/Pyro4: Updated for version 4.72.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/Pyro4/Pyro4.SlackBuild | 11 | ||||
-rw-r--r-- | python/Pyro4/Pyro4.info | 8 |
2 files changed, 12 insertions, 7 deletions
diff --git a/python/Pyro4/Pyro4.SlackBuild b/python/Pyro4/Pyro4.SlackBuild index 3abb6f146a..49d2553f75 100644 --- a/python/Pyro4/Pyro4.SlackBuild +++ b/python/Pyro4/Pyro4.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Pyro4 -# Copyright 2012-2017 Thibaut Notteboom, Paris, FRANCE +# Copyright 2012-2018 Thibaut Notteboom, Paris, FRANCE # 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=Pyro4 -VERSION=${VERSION:-4.63} +VERSION=${VERSION:-4.72} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,8 +71,13 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE docs/ examples/ README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a docs/ examples/ LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/python/Pyro4/Pyro4.info b/python/Pyro4/Pyro4.info index af8a119b1b..515f44a79c 100644 --- a/python/Pyro4/Pyro4.info +++ b/python/Pyro4/Pyro4.info @@ -1,8 +1,8 @@ PRGNAM="Pyro4" -VERSION="4.63" -HOMEPAGE="http://pyro4.readthedocs.io/" -DOWNLOAD="https://pypi.python.org/packages/10/b0/79938192827c33a0375e4b34614c33dbb75fe652525117b49423c6b64f00/Pyro4-4.63.tar.gz" -MD5SUM="e1d772b67bf7c6f75fa3174bc95c8839" +VERSION="4.72" +HOMEPAGE="http://pythonhosted.org/Pyro4/" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyro4/Pyro4-4.72.tar.gz" +MD5SUM="b3f511b02ead53eb35dab165e3a2bd4f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-serpent" |