summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com>2021-01-19 17:56:38 -0500
committerGitHub <noreply@github.com>2021-01-19 16:56:38 -0600
commit6de193fd27009cad29f53aca5982d3552aea536e (patch)
treeb75d19f6bc6d8fd167a75d84363ee69efb598cc6
parent7a913582f26ebffccca8f385d76e1e66397055dd (diff)
downloadspack-6de193fd27009cad29f53aca5982d3552aea536e.tar.gz
spack-6de193fd27009cad29f53aca5982d3552aea536e.tar.bz2
spack-6de193fd27009cad29f53aca5982d3552aea536e.tar.xz
spack-6de193fd27009cad29f53aca5982d3552aea536e.zip
py-pytest-arraydiff: new recipie (#21152)
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-arraydiff/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-arraydiff/package.py b/var/spack/repos/builtin/packages/py-pytest-arraydiff/package.py
new file mode 100644
index 0000000000..3dba597714
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-arraydiff/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 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 import *
+
+
+class PyPytestArraydiff(PythonPackage):
+ """pytest plugin to help with comparing array output from tests"""
+
+ homepage = "https://github.com/astropy/pytest-arraydiff"
+ pypi = "pytest-arraydiff/pytest-arraydiff-0.3.tar.gz"
+
+ version('0.3', sha256='de2d62f53ecc107ed754d70d562adfa7573677a263216a7f19aa332f20dc6c15')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-pytest', type=('build', 'run'))