summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-filter-subpackage/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pytest-filter-subpackage/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-filter-subpackage/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-filter-subpackage/package.py b/var/spack/repos/builtin/packages/py-pytest-filter-subpackage/package.py
new file mode 100644
index 0000000000..6a15892dc4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-filter-subpackage/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 PyPytestFilterSubpackage(PythonPackage):
+ """Pytest plugin for filtering based on sub-packages."""
+
+ homepage = "https://github.com/astropy/pytest-filter-subpackage"
+ pypi = "pytest-filter-subpackage/pytest-filter-subpackage-0.1.2.tar.gz"
+
+ version("0.1.2", sha256="1faea36717803e524588d6c109d26d20d3b34422e8d6a96812758977dca01782")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-setuptools-scm", type="build")
+
+ depends_on("py-pytest@3:", type=("build", "run"))