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>
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
#
|
|
# 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))
|