From d1ce461a8126b8d84cc9c2f5b0a02499f3ed5e96 Mon Sep 17 00:00:00 2001 From: bryanherman <63422190+bryanherman@users.noreply.github.com> Date: Wed, 27 Jan 2021 21:57:09 -0500 Subject: 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 Co-authored-by: Adam J. Stewart --- .../builtin/packages/py-pytest-cpp/package.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pytest-cpp/package.py diff --git a/var/spack/repos/builtin/packages/py-pytest-cpp/package.py b/var/spack/repos/builtin/packages/py-pytest-cpp/package.py new file mode 100644 index 0000000000..78bf707499 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pytest-cpp/package.py @@ -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')) -- cgit v1.2.3-70-g09d2