summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-htmlgen/package.py
blob: b15fe697696c0c1d66a4fe6e9860f00f3a1cc7b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyHtmlgen(PythonPackage):
    """Library to generate HTML from classes.
    """

    homepage = "https://github.com/srittau/python-htmlgen"
    url      = "https://github.com/srittau/python-htmlgen/archive/v1.2.2.tar.gz"

    version('1.2.2', sha256='9dc60e10511f0fd13014659514c6c333498c21779173deb585cd4964ea667770')

    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-asserts@0.8.0:0.8.999', type='test')
    depends_on('py-typing', type='test')