package/python-xmljson: new package

This package is a dependency for pyndiff

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Adam Duskett 2021-10-12 10:48:36 -07:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent b7e8da22a3
commit 8c17fd9a5b
4 changed files with 26 additions and 0 deletions

View File

@ -1279,6 +1279,7 @@ menu "External python modules"
source "package/python-xlsxwriter/Config.in"
source "package/python-xlutils/Config.in"
source "package/python-xlwt/Config.in"
source "package/python-xmljson/Config.in"
source "package/python-xmltodict/Config.in"
source "package/python-xmodem/Config.in"
source "package/python-yarl/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_XMLJSON
bool "python-xmljson"
help
Converts XML into JSON/Python dicts/arrays and vice-versa.
https://github.com/sanand0/xmljson

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/xmljson/json
md5 fc4df2390ad209928ee4311a3540cb17 xmljson-0.2.1.tar.gz
sha256 b4158e66aa1e62ee39f7f80eb2fe4f767670ba3c0d5de9804420dc53427fdec8 xmljson-0.2.1.tar.gz
# Locally computed sha256 checksums
sha256 5ce42ba7d76e81428bdacef83658eb6213dbd1ad4a3b6d380bb6e0e8c73f0fb7 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-xmljson
#
################################################################################
PYTHON_XMLJSON_VERSION = 0.2.1
PYTHON_XMLJSON_SOURCE = xmljson-$(PYTHON_XMLJSON_VERSION).tar.gz
PYTHON_XMLJSON_SITE = https://files.pythonhosted.org/packages/e8/6f/d9f109ba19be510fd3098bcb72143c67ca6743cedb48ac75aef05ddfe960
PYTHON_XMLJSON_SETUP_TYPE = setuptools
PYTHON_XMLJSON_LICENSE = MIT
PYTHON_XMLJSON_LICENSE_FILES = LICENSE
$(eval $(python-package))