python-toml: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 16 Jan 2017 15:46:18 +0000 (16:46 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 20 Jan 2017 02:18:55 +0000 (13:18 +1100)
Use GitHub instead of PyPI because PyPI release if out-of-date.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-toml/Config.in [new file with mode: 0644]
package/python-toml/python-toml.hash [new file with mode: 0644]
package/python-toml/python-toml.mk [new file with mode: 0644]

index 8c8c33ec31ce490135654ce0b6d8fdc61aa27894..1766089b0643f55f5b57e49dfb510b50f4df0135 100644 (file)
@@ -800,6 +800,7 @@ menu "External python modules"
        source "package/python-spidev/Config.in"
        source "package/python-thrift/Config.in"
        source "package/python-tomako/Config.in"
+       source "package/python-toml/Config.in"
        source "package/python-tornado/Config.in"
        source "package/python-treq/Config.in"
        source "package/python-twisted/Config.in"
diff --git a/package/python-toml/Config.in b/package/python-toml/Config.in
new file mode 100644 (file)
index 0000000..a41622f
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_TOML
+       bool "python-toml"
+       help
+         Python Library for Tom's Obvious, Minimal Language.
+
+         https://github.com/uiri/toml
diff --git a/package/python-toml/python-toml.hash b/package/python-toml/python-toml.hash
new file mode 100644 (file)
index 0000000..cbc71a9
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 aee9679726f42fb09f48b9701a321571e0b6a51305c3e0f3913b3057d8bf7083  python-toml-0.9.2.tar.gz
diff --git a/package/python-toml/python-toml.mk b/package/python-toml/python-toml.mk
new file mode 100644 (file)
index 0000000..fec113e
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-toml
+#
+################################################################################
+
+PYTHON_TOML_VERSION = 0.9.2
+PYTHON_TOML_SITE = $(call github,uiri,toml,$(PYTHON_TOML_VERSION))
+PYTHON_TOML_SETUP_TYPE = distutils
+PYTHON_TOML_LICENSE = MIT
+PYTHON_TOML_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))