package/python-future: new package
authorLouis Aussedat <aussedat.louis@gmail.com>
Sun, 10 Nov 2019 22:26:55 +0000 (23:26 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 11 Nov 2019 15:51:02 +0000 (16:51 +0100)
Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-future/Config.in [new file with mode: 0644]
package/python-future/python-future.hash [new file with mode: 0644]
package/python-future/python-future.mk [new file with mode: 0644]

index 04401bb3ebe44db7a8a267ff022938f495f4b67a..3a196b0943bc42ae3f7b8d0700064546fa685613 100644 (file)
@@ -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/
 
index e1df9326dec34cdb50314cecf889293d41df203a..ec68f893aa981bfcb37b69ed9e988cefeec6cfc9 100644 (file)
@@ -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 (file)
index 0000000..29303f3
--- /dev/null
@@ -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 (file)
index 0000000..c430181
--- /dev/null
@@ -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 (file)
index 0000000..76f3218
--- /dev/null
@@ -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))