summaryrefslogtreecommitdiffstats
path: root/package/python-futures
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-10-09 14:46:18 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-09 22:51:41 +0200
commitbfe76ebfb9accd2b33a2d3d7cd679cb6e8ddaea0 (patch)
tree33fe2d3ce84e60837fe1aaede870afa0e6ee6007 /package/python-futures
parent8238368d0540318ae2446c6ed1324a356ac5993d (diff)
downloadbuildroot-bfe76ebfb9accd2b33a2d3d7cd679cb6e8ddaea0.tar.gz
buildroot-bfe76ebfb9accd2b33a2d3d7cd679cb6e8ddaea0.zip
package/python-futures: new package
Needed by upcoming python-mwscrape package. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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