summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorPierre Augier <pierre.augier@ens-lyon.org>2024-09-02 22:34:24 +0200
committerGitHub <noreply@github.com>2024-09-02 14:34:24 -0600
commit1f935ac356b8b7427d72b9226f12bf75e74df120 (patch)
tree09f455319adaee9d9bceeccb283cd5abf2a71a73 /var
parente66e57265633bd5e9a167e3c274ff33ca908c22b (diff)
downloadspack-1f935ac356b8b7427d72b9226f12bf75e74df120.tar.gz
spack-1f935ac356b8b7427d72b9226f12bf75e74df120.tar.bz2
spack-1f935ac356b8b7427d72b9226f12bf75e74df120.tar.xz
spack-1f935ac356b8b7427d72b9226f12bf75e74df120.zip
Add py-pytest-allclose package (#45877)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-allclose/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-allclose/package.py b/var/spack/repos/builtin/packages/py-pytest-allclose/package.py
new file mode 100644
index 0000000000..9b96c44bc0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-allclose/package.py
@@ -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")