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/futures/futures.SlackBuild | |
parent | 42547948a05f17ca7dd52f02edf72c6101bc4601 (diff) | |
download | slackbuilds-8045925a41abc1cce4eda70277981503e0beffab.tar.gz |
libraries/futures: Updated for version 3.2.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/futures/futures.SlackBuild')
-rw-r--r-- | libraries/futures/futures.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
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 |