
* py-astropy: fix import tests and restrict py-pip version * Fix --install-option name in comments * Rename variant and fix variant dependencies * Remove parquet variant from py-pyarrow
24 lines
893 B
Python
24 lines
893 B
Python
# 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"
|
|
|
|
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"))
|