summaryrefslogtreecommitdiff
path: root/lang/python/python-xmltodict
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-09-05 05:56:22 +0800
committerJeffery To <jeffery.to@gmail.com>2023-09-05 05:57:23 +0800
commit4872c325808357c0cb81a4367d053cc5b5468028 (patch)
tree00f355d85ce21b8d14ae19efa147503808dca980 /lang/python/python-xmltodict
parent1e1b2051db47a82513f4eb4e9da892207785b7e2 (diff)
xmltodict: Update to 0.13.0, rename source package
This renames the source package to python-xmltodict to match other Python packages. This also updates the list of dependencies. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-xmltodict')
-rw-r--r--lang/python/python-xmltodict/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/lang/python/python-xmltodict/Makefile b/lang/python/python-xmltodict/Makefile
new file mode 100644
index 000000000..87b841f51
--- /dev/null
+++ b/lang/python/python-xmltodict/Makefile
@@ -0,0 +1,41 @@
+#
+# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-xmltodict
+PKG_VERSION:=0.13.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=xmltodict
+PKG_HASH:=341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56
+
+PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-xmltodict
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=Work with XML like JSON
+ URL:=https://github.com/martinblech/xmltodict
+ DEPENDS:=+python3-light +python3-xml
+endef
+
+define Package/python3-xmltodict/description
+xmltodict is a Python module that makes working with XML feel like you
+are working with JSON.
+endef
+
+$(eval $(call Py3Package,python3-xmltodict))
+$(eval $(call BuildPackage,python3-xmltodict))
+$(eval $(call BuildPackage,python3-xmltodict-src))