package/python-defusedxml: new package

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>
This commit is contained in:
Simon Rowe 2020-11-27 14:10:38 +00:00 committed by Yann E. MORIN
parent 1e36a0e29b
commit 0279bf08ce
4 changed files with 26 additions and 0 deletions

View File

@ -946,6 +946,7 @@ menu "External python modules"
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"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_DEFUSEDXML
bool "python-defusedxml"
help
XML bomb protection for Python stdlib modules
https://pypi.org/project/defusedxml/

View File

@ -0,0 +1,5 @@
# 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

View File

@ -0,0 +1,14 @@
################################################################################
#
# 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))