summaryrefslogtreecommitdiff
path: root/libraries/futures
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-03-10 20:16:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:32 +0700
commit0cfc5a0fdb42d5b21b13a8c881962f7d64297bb9 (patch)
treef88c902897ec9774e79af40390b292bd4b392de3 /libraries/futures
parent613be66657f89fbe3ce42dfb82f607706a7fb333 (diff)
downloadslackbuilds-0cfc5a0fdb42d5b21b13a8c881962f7d64297bb9.tar.gz
libraries/futures: Removed python3 support.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/futures')
-rw-r--r--libraries/futures/README7
-rw-r--r--libraries/futures/futures.SlackBuild9
-rw-r--r--libraries/futures/slack-desc6
3 files changed, 9 insertions, 13 deletions
diff --git a/libraries/futures/README b/libraries/futures/README
index 5218334673..9e51da8fc2 100644
--- a/libraries/futures/README
+++ b/libraries/futures/README
@@ -1,4 +1,5 @@
-A Java-style futures package for Python
-This package is described in PEP-3148 and is included in Python 3.2.
+This is a backport of the concurrent.futures standard library module to Python
+2.
-Optional dependency: python3
+It should not be installed on Python 3, although there should be no harm in
+doing so, as the standard library takes precedence over third party libraries.
diff --git a/libraries/futures/futures.SlackBuild b/libraries/futures/futures.SlackBuild
index cfa4942260..f6174fb88c 100644
--- a/libraries/futures/futures.SlackBuild
+++ b/libraries/futures/futures.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for futures
-# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=futures
VERSION=${VERSION:-3.2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,11 +71,6 @@ 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
diff --git a/libraries/futures/slack-desc b/libraries/futures/slack-desc
index e4d5d0c670..549cca9d60 100644
--- a/libraries/futures/slack-desc
+++ b/libraries/futures/slack-desc
@@ -6,10 +6,10 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-futures: futures (Java-style package for Python)
+futures: futures (Backport of the concurrent.futures package)
futures:
-futures: A Java-style futures package for Python
-futures: This package is described in PEP-3148 and is included in Python 3.2.
+futures: This is a backport of the concurrent.futures standard library module
+futures: to python 2.
futures:
futures: Homepage: https://github.com/agronholm/pythonfutures
futures: