package/python-dicttoxml2: new package

Add a maintained fork instead of the abandoned dicttoxml.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yegor Yefremov 2022-11-23 11:30:22 +01:00 committed by Thomas Petazzoni
parent f3aaa6fd2a
commit e52eb61842
4 changed files with 28 additions and 0 deletions

View File

@ -1021,6 +1021,7 @@ menu "External python modules"
source "package/python-defusedxml/Config.in"
source "package/python-dialog3/Config.in"
source "package/python-dicttoxml/Config.in"
source "package/python-dicttoxml2/Config.in"
source "package/python-distro/Config.in"
source "package/python-django/Config.in"
source "package/python-django-enumfields/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_DICTTOXML2
bool "python-dicttoxml2"
select BR2_PACKAGE_PYTHON3_PYEXPAT
help
Converts a Python dictionary or other native data type into
a valid XML string.
https://github.com/Ousret/dicttoxml

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/dicttoxml2/json
md5 787ea4b80cd6234a41c016e8efa7ff40 dicttoxml2-2.1.0.tar.gz
sha256 67cb729f337dd752808c021b70c8df8a34f84b9e111a5dbaa37e000eeaf4d462 dicttoxml2-2.1.0.tar.gz
# Locally computed
sha256 4514114bd9da0b2fbf8c4fa264c0e6cc80fd41e6ac7f09d7a39a215662951c7c LICENCE.txt

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-dicttoxml2
#
################################################################################
PYTHON_DICTTOXML2_VERSION = 2.1.0
PYTHON_DICTTOXML2_SOURCE = dicttoxml2-$(PYTHON_DICTTOXML2_VERSION).tar.gz
PYTHON_DICTTOXML2_SITE = https://files.pythonhosted.org/packages/0b/24/7a6d37b2770843e34685e470fd711955cb0f77c354c73d8ca64b02420bce
PYTHON_DICTTOXML2_SETUP_TYPE = setuptools
PYTHON_DICTTOXML2_LICENSE = GPL-2.0
PYTHON_DICTTOXML2_LICENSE_FILES = LICENCE.txt
$(eval $(python-package))