summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-fail-slow/package.py
blob: b4cf7c650e8a8515cf668b4e15d414d06976ea47 (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 PyPytestFailSlow(PythonPackage):
    """Fail tests that take too long to run."""

    homepage = "https://github.com/jwodder/pytest-fail-slow"
    pypi = "pytest-fail-slow/pytest-fail-slow-0.3.0.tar.gz"

    license("MIT")

    version("0.3.0", sha256="bc022f3f4f170b7e3e7d4dff45bd9e7855e4935ae396bb40b4521ce1ef8ea41c")

    depends_on("python@3.6:3", type=("build", "run"))
    depends_on("py-setuptools@46.4:", type="build")

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