summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-20 11:10:04 -0500
committerGitHub <noreply@github.com>2019-10-20 11:10:04 -0500
commit9ac7e098d90726749e8375a43e57ff7fdfe02150 (patch)
treecebce974cd54e6469d3d967c6b9062125458bc45
parent1dc99765e94a7f148af7c45d290e381f0ed3d458 (diff)
downloadspack-9ac7e098d90726749e8375a43e57ff7fdfe02150.tar.gz
spack-9ac7e098d90726749e8375a43e57ff7fdfe02150.tar.bz2
spack-9ac7e098d90726749e8375a43e57ff7fdfe02150.tar.xz
spack-9ac7e098d90726749e8375a43e57ff7fdfe02150.zip
Add py-pytest-forked package (#13281)
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-forked/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytest-forked/package.py b/var/spack/repos/builtin/packages/py-pytest-forked/package.py
new file mode 100644
index 0000000000..ac70de0148
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-forked/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2019 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 PyPytestForked(PythonPackage):
+ """Run tests in isolated forked subprocesses."""
+
+ homepage = "https://github.com/pytest-dev/pytest-forked"
+ url = "https://pypi.io/packages/source/p/pytest-forked/pytest-forked-1.1.1.tar.gz"
+
+ version('1.1.1', sha256='e2d46f319c8063a3a0536b18f9cdea6eea3bc9fe2cb16c94e1d6fad3abc37300')
+
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools-scm', type='build')
+ depends_on('py-pytest@3.1.0:', type=('build', 'run'))