summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-genshi/package.py
blob: d1ba0bf3e42814032330facfed99b785426a12af (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-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 PyGenshi(PythonPackage):
    """Python toolkit for generation of output for the web"""

    pypi = "Genshi/Genshi-0.7.7.tar.gz"

    license("BSD-3-Clause")

    version("0.7.7", sha256="c100520862cd69085d10ee1a87e91289e7f59f6b3d9bd622bf58b2804e6b9aab")

    depends_on("py-setuptools", type=("build", "run"))
    depends_on("py-six", type=("build", "run", "test"))

    def test_testsuite(self):
        python("-m", "unittest", "-v", "genshi.tests.suite")