diff --git a/package/Config.in b/package/Config.in index cafd3b338c..7d227f8112 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/python-dicttoxml2/Config.in b/package/python-dicttoxml2/Config.in new file mode 100644 index 0000000000..0bd8068dd6 --- /dev/null +++ b/package/python-dicttoxml2/Config.in @@ -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 diff --git a/package/python-dicttoxml2/python-dicttoxml2.hash b/package/python-dicttoxml2/python-dicttoxml2.hash new file mode 100644 index 0000000000..7f584cc000 --- /dev/null +++ b/package/python-dicttoxml2/python-dicttoxml2.hash @@ -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 diff --git a/package/python-dicttoxml2/python-dicttoxml2.mk b/package/python-dicttoxml2/python-dicttoxml2.mk new file mode 100644 index 0000000000..d2abe63860 --- /dev/null +++ b/package/python-dicttoxml2/python-dicttoxml2.mk @@ -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))