summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-dominate/package.py
blob: 11662f29995b9020aaf5285a5bef77f304d37037 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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")