diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2018-04-28 20:17:49 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-05 06:46:34 +0700 |
commit | 8045925a41abc1cce4eda70277981503e0beffab (patch) | |
tree | 4de770c969a8f0b6982ff3bb61f6b6c1bf813f65 /libraries | |
parent | 42547948a05f17ca7dd52f02edf72c6101bc4601 (diff) |
libraries/futures: Updated for version 3.2.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries')
-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 20048f0542f45..5218334673ef1 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 8d2da5d258e4b..cfa4942260a65 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 224f4a36ff861..3247ed464d4f9 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="" |