spack/var/spack/repos/builtin/packages/py-defusedxml/package.py
iarspider db9ccc21b0
Add extra version of py-defusedxml (#14972)
* Add extra version of py-defusedxml

* Update package.py

* Update var/spack/repos/builtin/packages/py-defusedxml/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-02-18 11:50:19 -06:00

20 lines
744 B
Python

# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyDefusedxml(PythonPackage):
"""defusing XML bombs and other exploits"""
homepage = "https://github.com/tiran/defusedxml"
url = "https://pypi.io/packages/source/d/defusedxml/defusedxml-0.5.0.tar.gz"
version('0.6.0', sha256='f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5')
version('0.5.0', sha256='24d7f2f94f7f3cb6061acb215685e5125fbcdc40a857eff9de22518820b0a4f4')
depends_on('py-setuptools', type='build')
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))