summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pytest-doctestplus/package.py
blob: 81668fa24fa821b2f6aa3eea0f102aa215951cc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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 PyPytestDoctestplus(PythonPackage):
    """Pytest plugin with advanced doctest features."""

    homepage = "https://github.com/astropy/pytest-doctestplus"
    pypi = "pytest-doctestplus/pytest-doctestplus-0.8.0.tar.gz"

    license("BSD-3-Clause")

    version("0.13.0", sha256="f884e2231fe5378cc8e5d1a272d19b01ebd352df0591a5add55ff50adac2d2d0")
    version("0.9.0", sha256="6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a")

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

    depends_on("py-pytest@4.6:", type=("build", "run"))
    depends_on("py-packaging@17:", when="@0.10:", type=("build", "run"))