XML bomb protection for Python stdlib modules.
Signed-off-by: Simon Rowe <simon.rowe@citrix.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
source "package/python-dataproperty/Config.in"
source "package/python-dateutil/Config.in"
source "package/python-decorator/Config.in"
+ source "package/python-defusedxml/Config.in"
source "package/python-dialog/Config.in"
source "package/python-dialog3/Config.in"
source "package/python-dicttoxml/Config.in"
--- /dev/null
+config BR2_PACKAGE_PYTHON_DEFUSEDXML
+ bool "python-defusedxml"
+ help
+ XML bomb protection for Python stdlib modules
+
+ https://pypi.org/project/defusedxml/
--- /dev/null
+# md5, sha256 from https://pypi.org/pypi/defusedxml/json
+md5 a59741f675c4cba649de40a99f732897 defusedxml-0.6.0.tar.gz
+sha256 f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5 defusedxml-0.6.0.tar.gz
+# Locally computed sha256 checksums
+sha256 b80ce9da8c42a1f91079627fbbe2bf27210ae108a0ffe5f077d5b08e076c24c8 LICENSE
--- /dev/null
+################################################################################
+#
+# python-defusedxml
+#
+################################################################################
+
+PYTHON_DEFUSEDXML_VERSION = 0.6.0
+PYTHON_DEFUSEDXML_SOURCE = defusedxml-$(PYTHON_DEFUSEDXML_VERSION).tar.gz
+PYTHON_DEFUSEDXML_SITE = https://files.pythonhosted.org/packages/a4/5f/f8aa58ca0cf01cbcee728abc9d88bfeb74e95e6cb4334cfd5bed5673ea77
+PYTHON_DEFUSEDXML_SETUP_TYPE = setuptools
+PYTHON_DEFUSEDXML_LICENSE = Python-2.0
+PYTHON_DEFUSEDXML_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))