summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-dominate/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-dominate/package.py b/var/spack/repos/builtin/packages/py-dominate/package.py
new file mode 100644
index 0000000000..2d3f438ea5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dominate/package.py
@@ -0,0 +1,24 @@
+# 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 PyDominate(PythonPackage):
+ """Dominate is a Python library for creating and
+ manipulating HTML documents using an elegant DOM API. It
+ allows you to write HTML pages in pure Python very
+ concisely, which eliminates the need to learn another
+ template language, and lets you take advantage of the more
+ powerful features of Python."""
+
+ homepage = "https://github.com/Knio/dominate"
+ url = "https://pypi.io/packages/source/d/dominate/dominate-2.6.0.tar.gz"
+ # license = "LGPL-3.0"
+
+ version('2.6.0', sha256='76ec2cde23700a6fc4fee098168b9dee43b99c2f1dd0ca6a711f683e8eb7e1e4')
+
+ depends_on('python@2.7:2.9999,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')