diff options
Diffstat (limited to 'python/Pyro4/Pyro4.SlackBuild')
-rw-r--r-- | python/Pyro4/Pyro4.SlackBuild | 11 |
1 files changed, 8 insertions, 3 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 |