New package: py-pytest-cpp (#21328)

* added package py-pytest-cpp

* Update var/spack/repos/builtin/packages/py-pytest-cpp/package.py

package is !=5.4.0 use @:5.3.999

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
bryanherman 2021-01-27 21:57:09 -05:00 committed by GitHub
parent 4efeb39e95
commit d1ce461a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
# 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 PyPytestCpp(PythonPackage):
"""Use pytest runner to discover and execute C++ tests."""
homepage = "https://github.com/pytest-dev/pytest-cpp"
pypi = "pytest-cpp/pytest-cpp-1.4.0.tar.gz"
version('1.5.0', sha256='efb7eaac30f9f61515be181d04b70d80d60ce8871426f726ef1844e2db4f3353')
version('1.4.0', sha256='aa3a04fe7906e50094d1a9b8d38bc10eb59d0a8330a11a0f7a660405228b48ca')
depends_on('py-setuptools', type='build')
depends_on('py-setuptools-scm', type='build')
depends_on('py-pytest@:5.3.999,5.4.2:', type=('build', 'run'))
depends_on('py-colorama', type=('build', 'run'))