From 0cfc5a0fdb42d5b21b13a8c881962f7d64297bb9 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 10 Mar 2019 20:16:55 +0100 Subject: libraries/futures: Removed python3 support. Signed-off-by: Dimitris Zlatanidis --- libraries/futures/README | 7 ++++--- libraries/futures/futures.SlackBuild | 9 ++------- libraries/futures/slack-desc | 6 +++--- 3 files changed, 9 insertions(+), 13 deletions(-) (limited to 'libraries/futures') diff --git a/libraries/futures/README b/libraries/futures/README index 5218334673ef..9e51da8fc202 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 cfa4942260a6..f6174fb88cf9 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 e4d5d0c670a3..549cca9d6040 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: -- cgit v1.2.3