summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-html/package.py
blob: 3dbd536198ef6b3c323049435967741a63ad3cae (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
# Copyright 2013-2022 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 PyPytestHtml(PythonPackage):
    """pytest-html is a plugin for pytest that generates
    a HTML report for test results
    """

    homepage = "https://github.com/pytest-dev/pytest-html"
    pypi = "pytest-html/pytest-html-3.1.1.tar.gz"

    version('3.1.1', sha256='3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3')

    depends_on('python@3.6:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-setuptools-scm', type='build')
    depends_on('py-pytest@5.0:5,6.0.1:', type=('build', 'run'))
    depends_on('py-pytest-metadata', type=('build', 'run'))