aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Louis Aussedat <aussedat.louis@gmail.com>2019-11-10 23:26:55 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-11-11 16:51:02 +0100
commit59db166dce69da5db25ce55c6cfabb8164c3f3a7 (patch)
treed70108c4b7bf61ce8340f3ae8483909b5dfe67c3
parentd5d9f559ae4de6ffcad508eb2f2e0089c2afc192 (diff)
downloadbuildroot-59db166dce69da5db25ce55c6cfabb8164c3f3a7.tar.gz
buildroot-59db166dce69da5db25ce55c6cfabb8164c3f3a7.tar.bz2
package/python-future: new package
Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--DEVELOPERS1
-rw-r--r--package/Config.in1
-rw-r--r--package/python-future/Config.in7
-rw-r--r--package/python-future/python-future.hash5
-rw-r--r--package/python-future/python-future.mk14
5 files changed, 28 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index 04401bb3eb..3a196b0943 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1394,6 +1394,7 @@ N: Louis Aussedat <aussedat.louis@gmail.com>
F: board/friendlyarm/nanopi-neo-plus2/
F: configs/friendlyarm_nanopi_neo_plus2_defconfig
F: package/python-dnspython/
+F: package/python-future/
F: package/python-huepy/
F: package/python-tqdm/
diff --git a/package/Config.in b/package/Config.in
index e1df9326de..ec68f893aa 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -914,6 +914,7 @@ menu "External python modules"
source "package/python-flask-sqlalchemy/Config.in"
source "package/python-flup/Config.in"
source "package/python-functools32/Config.in"
+ source "package/python-future/Config.in"
source "package/python-futures/Config.in"
source "package/python-gobject/Config.in"
source "package/python-gunicorn/Config.in"
diff --git a/package/python-future/Config.in b/package/python-future/Config.in
new file mode 100644
index 0000000000..29303f334d
--- /dev/null
+++ b/package/python-future/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_FUTURE
+ bool "python-future"
+ depends on BR2_PACKAGE_PYTHON
+ help
+ Easy, clean, reliable Python 2/3 compatibility.
+
+ http://python-future.org
diff --git a/package/python-future/python-future.hash b/package/python-future/python-future.hash
new file mode 100644
index 0000000000..c43018103e
--- /dev/null
+++ b/package/python-future/python-future.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.python.org/pypi/future/json
+md5 e4579c836b9c025872efe230f6270349 future-0.18.2.tar.gz
+sha256 b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d future-0.18.2.tar.gz
+# Locally computed sha256 checksums
+sha256 916e561392d48471b9c23437f56e2652f320cb3b119ceaa162edf41016f746b9 LICENSE.txt
diff --git a/package/python-future/python-future.mk b/package/python-future/python-future.mk
new file mode 100644
index 0000000000..76f32180ac
--- /dev/null
+++ b/package/python-future/python-future.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-future
+#
+################################################################################
+
+PYTHON_FUTURE_VERSION = 0.18.2
+PYTHON_FUTURE_SOURCE = future-$(PYTHON_FUTURE_VERSION).tar.gz
+PYTHON_FUTURE_SITE = https://files.pythonhosted.org/packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9
+PYTHON_FUTURE_SETUP_TYPE = setuptools
+PYTHON_FUTURE_LICENSE = MIT
+PYTHON_FUTURE_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))