summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2019-10-26 00:40:59 +0200
committerPeter Scheibel <scheibel1@llnl.gov>2019-10-25 15:40:59 -0700
commit32c0ef5ebdc08e0deec6cfcfb66ccd1709076df1 (patch)
treee9d937114d9a52e630643cf52488440d55560040
parentca917cfcccec9123cfc35274dc128fbbc8b6bd8e (diff)
downloadspack-32c0ef5ebdc08e0deec6cfcfb66ccd1709076df1.tar.gz
spack-32c0ef5ebdc08e0deec6cfcfb66ccd1709076df1.tar.bz2
spack-32c0ef5ebdc08e0deec6cfcfb66ccd1709076df1.tar.xz
spack-32c0ef5ebdc08e0deec6cfcfb66ccd1709076df1.zip
New package: py-defusedxml (#13419)
-rw-r--r--var/spack/repos/builtin/packages/py-defusedxml/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-defusedxml/package.py b/var/spack/repos/builtin/packages/py-defusedxml/package.py
new file mode 100644
index 0000000000..972c45e627
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-defusedxml/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2019 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.5.0', sha256='24d7f2f94f7f3cb6061acb215685e5125fbcdc40a857eff9de22518820b0a4f4')
+
+ depends_on('py-setuptools', type='build')