summaryrefslogtreecommitdiffstats
path: root/package/python-futures
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-futures')
-rw-r--r--package/python-futures/Config.in7
-rw-r--r--package/python-futures/python-futures.hash3
-rw-r--r--package/python-futures/python-futures.mk14
3 files changed, 24 insertions, 0 deletions
diff --git a/package/python-futures/Config.in b/package/python-futures/Config.in
new file mode 100644
index 0000000000..2eb40e93bd
--- /dev/null
+++ b/package/python-futures/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_FUTURES
+ bool "python-futures"
+ depends on BR2_PACKAGE_PYTHON # not needed for python3
+ help
+ Backport of the concurrent.futures package from Python 3.2.
+
+ https://github.com/agronholm/pythonfutures
diff --git a/package/python-futures/python-futures.hash b/package/python-futures/python-futures.hash
new file mode 100644
index 0000000000..f0948ae4e2
--- /dev/null
+++ b/package/python-futures/python-futures.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/futures/json, sha256 locally computed
+md5 ced2c365e518242512d7a398b515ff95 futures-3.0.5.tar.gz
+sha256 0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df futures-3.0.5.tar.gz
diff --git a/package/python-futures/python-futures.mk b/package/python-futures/python-futures.mk
new file mode 100644
index 0000000000..8a1afa3386
--- /dev/null
+++ b/package/python-futures/python-futures.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-futures
+#
+################################################################################
+
+PYTHON_FUTURES_VERSION = 3.0.5
+PYTHON_FUTURES_SOURCE = futures-$(PYTHON_FUTURES_VERSION).tar.gz
+PYTHON_FUTURES_SITE = https://pypi.python.org/packages/55/db/97c1ca37edab586a1ae03d6892b6633d8eaa23b23ac40c7e5bbc55423c78
+PYTHON_FUTURES_SETUP_TYPE = setuptools
+PYTHON_FUTURES_LICENSE = BSD-2c
+PYTHON_FUTURES_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud