Add py-pytest-forked package (#13281)

This commit is contained in:
Adam J. Stewart 2019-10-20 11:10:04 -05:00 committed by GitHub
parent 1dc99765e9
commit 9ac7e098d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'))