From cdcc05db0ac8451bdb5bf627f9da40a7b962ed0d Mon Sep 17 00:00:00 2001 From: Sinan Date: Fri, 23 Aug 2019 17:21:08 -0700 Subject: [PATCH] New package: py-cov-core (#12526) --- .../builtin/packages/py-cov-core/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-cov-core/package.py diff --git a/var/spack/repos/builtin/packages/py-cov-core/package.py b/var/spack/repos/builtin/packages/py-cov-core/package.py new file mode 100644 index 0000000000..08489d723b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cov-core/package.py @@ -0,0 +1,18 @@ +# 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 PyCovCore(PythonPackage): + """plugin core for use by pytest-cov, nose-cov and nose2-cov""" + + homepage = "https://github.com/schlamar/cov-core" + url = "https://pypi.io/packages/source/c/cov-core/cov-core-1.15.0.tar.gz" + + version('1.15.0', sha256='4a14c67d520fda9d42b0da6134638578caae1d374b9bb462d8de00587dba764c') + + depends_on('py-setuptools', type='build') + depends_on('py-coverage@3.6:', type=('build', 'run'))