summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-astropy-header/package.py
blob: 28417e4469f02c2065b8e9de55d156ed2c1dd58a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyPytestAstropyHeader(PythonPackage):
    """pytest plugin to add diagnostic information to the header of the test output."""

    homepage = "https://github.com/astropy/pytest-astropy-header"
    pypi = "pytest-astropy-header/pytest-astropy-header-0.2.2.tar.gz"

    version("0.2.2", sha256="77891101c94b75a8ca305453b879b318ab6001b370df02be2c0b6d1bb322db10")

    depends_on("py-setuptools@30.3.0:", type="build")
    depends_on("py-setuptools-scm", type="build")

    depends_on("py-pytest@4.6:", type=("build", "run"))