python-iso8601: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 12 Sep 2017 09:50:54 +0000 (11:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 12 Sep 2017 21:38:47 +0000 (23:38 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-iso8601/Config.in [new file with mode: 0644]
package/python-iso8601/python-iso8601.hash [new file with mode: 0644]
package/python-iso8601/python-iso8601.mk [new file with mode: 0644]

index 4d7d5a29cd29e24e859101e04fcb3ba6513cbcec..9554b6f289fe0477c1841f0d41326cc48a6027fd 100644 (file)
@@ -767,6 +767,7 @@ menu "External python modules"
        source "package/python-ipy/Config.in"
        source "package/python-ipython/Config.in"
        source "package/python-ipython-genutils/Config.in"
+       source "package/python-iso8601/Config.in"
        source "package/python-itsdangerous/Config.in"
        source "package/python-jinja2/Config.in"
        source "package/python-jsonschema/Config.in"
diff --git a/package/python-iso8601/Config.in b/package/python-iso8601/Config.in
new file mode 100644 (file)
index 0000000..9e4610c
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_ISO8601
+       bool "python-iso8601"
+       help
+         Simple module to parse ISO 8601 dates.
+
+         https://bitbucket.org/micktwomey/pyiso8601
diff --git a/package/python-iso8601/python-iso8601.hash b/package/python-iso8601/python-iso8601.hash
new file mode 100644 (file)
index 0000000..57604cc
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/iso8601/json, sha256 locally computed
+md5    4de940f691c5ea759fb254384c8ddcf6  iso8601-0.1.12.tar.gz
+sha256 49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098eddede82  iso8601-0.1.12.tar.gz
+sha256  116d368d14a8cf0061027c944c60ee20b476ce42814818a7d627396906761f16  LICENSE
diff --git a/package/python-iso8601/python-iso8601.mk b/package/python-iso8601/python-iso8601.mk
new file mode 100644 (file)
index 0000000..7fc171d
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-iso8601
+#
+################################################################################
+
+PYTHON_ISO8601_VERSION = 0.1.12
+PYTHON_ISO8601_SOURCE = iso8601-$(PYTHON_ISO8601_VERSION).tar.gz
+PYTHON_ISO8601_SITE = https://pypi.python.org/packages/45/13/3db24895497345fb44c4248c08b16da34a9eb02643cea2754b21b5ed08b0
+PYTHON_ISO8601_SETUP_TYPE = setuptools
+PYTHON_ISO8601_LICENSE = MIT
+PYTHON_ISO8601_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))