summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbryanherman <63422190+bryanherman@users.noreply.github.com>2021-01-27 21:57:24 -0500
committerGitHub <noreply@github.com>2021-01-27 20:57:24 -0600
commitfe05b1692209ed3b08fdc66c19f0462b15ff65a7 (patch)
tree8f47c054808f23f693d718a02daa2292e76a06fc
parentd1ce461a8126b8d84cc9c2f5b0a02499f3ed5e96 (diff)
downloadspack-fe05b1692209ed3b08fdc66c19f0462b15ff65a7.tar.gz
spack-fe05b1692209ed3b08fdc66c19f0462b15ff65a7.tar.bz2
spack-fe05b1692209ed3b08fdc66c19f0462b15ff65a7.tar.xz
spack-fe05b1692209ed3b08fdc66c19f0462b15ff65a7.zip
New package: py-pytest-benchmark (#21324)
* added pytest-benchmark recipe * Update var/spack/repos/builtin/packages/py-pytest-benchmark/package.py Added Python2 dependence. Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-benchmark/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-benchmark/package.py b/var/spack/repos/builtin/packages/py-pytest-benchmark/package.py
new file mode 100644
index 0000000000..80c0b0c70d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-benchmark/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 PyPytestBenchmark(PythonPackage):
+ """A pytest fixture for benchmarking code."""
+
+ homepage = "https://github.com/ionelmc/pytest-benchmark"
+ pypi = "pytest-benchmark/pytest-benchmark-3.2.3.tar.gz"
+
+ version('3.2.3', sha256='ad4314d093a3089701b24c80a05121994c7765ce373478c8f4ba8d23c9ba9528')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pytest@3.8:', type=('build', 'run'))
+ depends_on('py-py-cpuinfo', type=('build', 'run'))