summaryrefslogtreecommitdiffstats
path: root/package/python-xmltodict
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-09-12 11:50:55 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-09-12 23:39:40 +0200
commitdc5892d49c56149bb9f7c51f5050963e75079c69 (patch)
tree37893317053e56fb6971c4c0437fd24c26f8b24f /package/python-xmltodict
parentcce0cc2bbdafb0800840605f226ecb9f8bb33401 (diff)
downloadbuildroot-dc5892d49c56149bb9f7c51f5050963e75079c69.tar.gz
buildroot-dc5892d49c56149bb9f7c51f5050963e75079c69.zip
python-xmltodict: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-xmltodict')
-rw-r--r--package/python-xmltodict/Config.in8
-rw-r--r--package/python-xmltodict/python-xmltodict.hash4
-rw-r--r--package/python-xmltodict/python-xmltodict.mk14
3 files changed, 26 insertions, 0 deletions
diff --git a/package/python-xmltodict/Config.in b/package/python-xmltodict/Config.in
new file mode 100644
index 0000000000..cb12392c93
--- /dev/null
+++ b/package/python-xmltodict/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_XMLTODICT
+ bool "python-xmltodict"
+ select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
+ help
+ Makes working with XML feel like you are working with JSON.
+
+ https://github.com/martinblech/xmltodict
diff --git a/package/python-xmltodict/python-xmltodict.hash b/package/python-xmltodict/python-xmltodict.hash
new file mode 100644
index 0000000000..4cb265e9b7
--- /dev/null
+++ b/package/python-xmltodict/python-xmltodict.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/xmltodict/json, sha256 locally computed
+md5 9f955947db085485873ac68154e88069 xmltodict-0.11.0.tar.gz
+sha256 8f8d7d40aa28d83f4109a7e8aa86e67a4df202d9538be40c0cb1d70da527b0df xmltodict-0.11.0.tar.gz
+sha256 d66d5eb8f83a0ba21d3dd04318b8817588e8764daabea852d1035e3f07ffda55 LICENSE
diff --git a/package/python-xmltodict/python-xmltodict.mk b/package/python-xmltodict/python-xmltodict.mk
new file mode 100644
index 0000000000..66007dfb84
--- /dev/null
+++ b/package/python-xmltodict/python-xmltodict.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-xmltodict
+#
+################################################################################
+
+PYTHON_XMLTODICT_VERSION = 0.11.0
+PYTHON_XMLTODICT_SOURCE = xmltodict-$(PYTHON_XMLTODICT_VERSION).tar.gz
+PYTHON_XMLTODICT_SITE = https://pypi.python.org/packages/57/17/a6acddc5f5993ea6eaf792b2e6c3be55e3e11f3b85206c818572585f61e1
+PYTHON_XMLTODICT_SETUP_TYPE = setuptools
+PYTHON_XMLTODICT_LICENSE = MIT
+PYTHON_XMLTODICT_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud