python-arrow: new package
authorDavid Bachelart <david.bachelart@bbright.com>
Tue, 3 Jan 2017 08:35:28 +0000 (09:35 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 8 Jan 2017 20:34:10 +0000 (21:34 +0100)
Signed-off-by: David Bachelart <david.bachelart@bbright.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-arrow/Config.in [new file with mode: 0644]
package/python-arrow/python-arrow.hash [new file with mode: 0644]
package/python-arrow/python-arrow.mk [new file with mode: 0644]

index b0ff11f3bb8d35ed73d93153cf753b250f24cbc9..8e03b30363acb36e714cc60ea5bfc15c3bae2e95 100644 (file)
@@ -644,6 +644,7 @@ if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "External python modules"
        source "package/python-alsaaudio/Config.in"
        source "package/python-argh/Config.in"
+       source "package/python-arrow/Config.in"
        source "package/python-autobahn/Config.in"
        source "package/python-backports-abc/Config.in"
        source "package/python-beautifulsoup4/Config.in"
diff --git a/package/python-arrow/Config.in b/package/python-arrow/Config.in
new file mode 100644 (file)
index 0000000..2449568
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_ARROW
+       bool "python-arrow"
+       select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
+       help
+         Better dates and times for Python.
+
+         https://github.com/crsmithdev/arrow/
diff --git a/package/python-arrow/python-arrow.hash b/package/python-arrow/python-arrow.hash
new file mode 100644 (file)
index 0000000..0b5076a
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/arrow/json, sha256 locally computed
+md5    5d00592200050ad58284d45a4ee147c6  arrow-0.10.0.tar.gz
+sha256 805906f09445afc1f0fc80187db8fe07670e3b25cdafa09b8d8ac264a8c0c722  arrow-0.10.0.tar.gz
diff --git a/package/python-arrow/python-arrow.mk b/package/python-arrow/python-arrow.mk
new file mode 100644 (file)
index 0000000..6e2e331
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-arrow
+#
+################################################################################
+
+PYTHON_ARROW_VERSION = 0.10.0
+PYTHON_ARROW_SOURCE = arrow-$(PYTHON_ARROW_VERSION).tar.gz
+PYTHON_ARROW_SITE = https://pypi.python.org/packages/54/db/76459c4dd3561bbe682619a5c576ff30c42e37c2e01900ed30a501957150
+PYTHON_ARROW_SETUP_TYPE = setuptools
+PYTHON_ARROW_LICENSE = Apache-2.0
+PYTHON_ARROW_LICENSE_FILES = LICENSE docs/_themes/COPYING.txt
+
+$(eval $(python-package))