diff options
Diffstat (limited to 'libraries/futures')
-rw-r--r-- | libraries/futures/README | 2 | ||||
-rw-r--r-- | libraries/futures/futures.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/futures/futures.info | 6 |
3 files changed, 13 insertions, 6 deletions
diff --git a/libraries/futures/README b/libraries/futures/README index 20048f0542..5218334673 100644 --- a/libraries/futures/README +++ b/libraries/futures/README @@ -1,2 +1,4 @@ A Java-style futures package for Python This package is described in PEP-3148 and is included in Python 3.2. + +Optional dependency: python3 diff --git a/libraries/futures/futures.SlackBuild b/libraries/futures/futures.SlackBuild index 8d2da5d258..cfa4942260 100644 --- a/libraries/futures/futures.SlackBuild +++ b/libraries/futures/futures.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for futures -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece # 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=futures -VERSION=${VERSION:-3.0.5} +VERSION=${VERSION:-3.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,11 +71,16 @@ 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 + 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 CHANGES LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/futures/futures.info b/libraries/futures/futures.info index 224f4a36ff..3247ed464d 100644 --- a/libraries/futures/futures.info +++ b/libraries/futures/futures.info @@ -1,8 +1,8 @@ PRGNAM="futures" -VERSION="3.0.5" +VERSION="3.2.0" HOMEPAGE="https://github.com/agronholm/pythonfutures" -DOWNLOAD="https://pypi.python.org/packages/55/db/97c1ca37edab586a1ae03d6892b6633d8eaa23b23ac40c7e5bbc55423c78/futures-3.0.5.tar.gz" -MD5SUM="ced2c365e518242512d7a398b515ff95" +DOWNLOAD="https://files.pythonhosted.org/packages/1f/9e/7b2ff7e965fc654592269f2906ade1c7d705f1bf25b7d469fa153f7d19eb/futures-3.2.0.tar.gz" +MD5SUM="d1b299a06b96ccb59f70324716dc0016" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |