summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorbryanherman <63422190+bryanherman@users.noreply.github.com>2021-01-27 21:56:52 -0500
committerGitHub <noreply@github.com>2021-01-27 20:56:52 -0600
commit4efeb39e9502611fad3d57dd4c6cc01f3e57a022 (patch)
tree360bcf431079bc901059af244534d64ebdbebf93 /var
parentf7a47e4048cd70f98a8bed60f39fdbdd07086a19 (diff)
downloadspack-4efeb39e9502611fad3d57dd4c6cc01f3e57a022.tar.gz
spack-4efeb39e9502611fad3d57dd4c6cc01f3e57a022.tar.bz2
spack-4efeb39e9502611fad3d57dd4c6cc01f3e57a022.tar.xz
spack-4efeb39e9502611fad3d57dd4c6cc01f3e57a022.zip
New package: py-pytest-timeout (#21340)
* added package py-pytest-timeout * Update var/spack/repos/builtin/packages/py-pytest-timeout/package.py Added Python2. Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-timeout/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-timeout/package.py b/var/spack/repos/builtin/packages/py-pytest-timeout/package.py
new file mode 100644
index 0000000000..a9de608856
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-timeout/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 PyPytestTimeout(PythonPackage):
+ """A plugin which will terminate tests after a certain timeout,
+ assuming the test session isn't being debugged."""
+
+ homepage = "https://github.com/pytest-dev/pytest-timeout/"
+ pypi = "pytest-timeout/pytest-timeout-1.4.2.tar.gz"
+
+ version('1.4.2', sha256='20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pytest@3.6.0:', type=('build', 'run'))