summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-stestr/package.py
blob: c5dbfbbb04a412aa8b32c85504c421c12ae9531d (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 PyStestr(PythonPackage):
    """A parallel Python test runner built around subunit."""

    homepage = "https://stestr.readthedocs.io/en/latest/"
    pypi = "stestr/stestr-2.5.1.tar.gz"

    license("Apache-2.0")

    version("2.5.1", sha256="151479fdf2db9f5f492b5285f4696f2d38960639054835dbdcd4c0687122c0fd")

    depends_on("python@2.7:", type=("build", "run"))
    depends_on("py-setuptools", type="build")