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>
source "package/python-flask-jsonrpc/Config.in"
source "package/python-flask-login/Config.in"
source "package/python-flup/Config.in"
+ source "package/python-futures/Config.in"
source "package/python-gobject/Config.in"
source "package/python-html5lib/Config.in"
source "package/python-httplib2/Config.in"
--- /dev/null
+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
--- /dev/null
+# 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
--- /dev/null
+################################################################################
+#
+# 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))