summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2020-04-17 11:32:19 +0200
committerGitHub <noreply@github.com>2020-04-17 11:32:19 +0200
commit791e354b2a1fabce3e92c98ecea422590c0f365a (patch)
treef033bc1624117b07f02c7ae6a4086d25208e0c53 /var
parent4c81efcf0bf3bc9582fcaf27eab3a136b2b6d9fb (diff)
downloadspack-791e354b2a1fabce3e92c98ecea422590c0f365a.tar.gz
spack-791e354b2a1fabce3e92c98ecea422590c0f365a.tar.bz2
spack-791e354b2a1fabce3e92c98ecea422590c0f365a.tar.xz
spack-791e354b2a1fabce3e92c98ecea422590c0f365a.zip
py-gcovr: added new package at v4.2 (#16100)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-gcovr/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gcovr/package.py b/var/spack/repos/builtin/packages/py-gcovr/package.py
new file mode 100644
index 0000000000..f5110bf31b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gcovr/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 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 PyGcovr(PythonPackage):
+ """Gcovr provides a utility for managing the use of the GNU gcov utility
+ and generating summarized code coverage results. This command is inspired
+ by the Python coverage.py package, which provides a similar utility for
+ Python."""
+
+ homepage = "https://gcovr.com/"
+ url = "https://pypi.io/packages/source/g/gcovr/gcovr-4.2.tar.gz"
+
+ version('4.2', sha256='5aae34dc81e51600cfecbbbce3c3a80ce3f7548bc0aa1faa4b74ecd18f6fca3f')
+
+ depends_on('python@2.7:,3.5:', type=('build', 'run'))
+ depends_on('py-jinja2', type=('build', 'run'))
+ depends_on('py-lxml', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))