From 8045925a41abc1cce4eda70277981503e0beffab Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 28 Apr 2018 20:17:49 +0200 Subject: libraries/futures: Updated for version 3.2.0. Signed-off-by: Dimitris Zlatanidis --- libraries/futures/futures.SlackBuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'libraries/futures/futures.SlackBuild') 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 -- cgit v1.2.3