# Copyright 2013-2023 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.package 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" pypi = "dominate/dominate-2.6.0.tar.gz" # license = "LGPL-3.0" license("LGPL-3.0-or-later") version("2.6.0", sha256="76ec2cde23700a6fc4fee098168b9dee43b99c2f1dd0ca6a711f683e8eb7e1e4") depends_on("python@2.7:2,3.4:", type=("build", "run")) depends_on("py-setuptools", type="build")