summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-astropy-header/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pytest-astropy-header/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-astropy-header/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-astropy-header/package.py b/var/spack/repos/builtin/packages/py-pytest-astropy-header/package.py
new file mode 100644
index 0000000000..28417e4469
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-astropy-header/package.py
@@ -0,0 +1,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"))