Add py-pytest-allclose package (#45877)

This commit is contained in:
Pierre Augier 2024-09-02 22:34:24 +02:00 committed by GitHub
parent e66e572656
commit 1f935ac356
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,24 @@
# Copyright 2013-2024 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 PyPytestAllclose(PythonPackage):
"""Pytest fixture extending Numpy's allclose function."""
pypi = "pytest-allclose/pytest-allclose-1.0.0.tar.gz"
maintainers("paugier")
license("MIT", checked_by="paugier")
version("1.0.0", sha256="b2f0c521fa652281400d4a105c84454db3c50b993bcfee9861380be69cc6b041")
depends_on("python@3.9:", type=("build", "run"))
depends_on("py-setuptools@:63", type="build")
depends_on("py-pytest", type="run")
depends_on("py-numpy@1.11:", type="run")