From 143faecec3c81e4c7325430a6e759b1619eb406f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 13 Apr 2025 22:23:49 +0100 Subject: gnu: python-gcovr: Move to python-check. * gnu/packages/python-xyz.scm (python-gcovr): Move from here ... * gnu/packages/python-check.scm: ... to here. Change-Id: I99b0900bcf05d86509ddbfbd73b97a4f752d5882 --- gnu/packages/python-check.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 47180442407..ada814b86a3 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2024 Eric Bavier ;;; Copyright © 2024 Markku Korkeala ;;; Copyright © 2025 Evgeny Pisemsky +;;; Copyright © 2025 Florent Pruvost ;;; ;;; This file is part of GNU Guix. ;;; @@ -521,6 +522,39 @@ the initial expected value of a test can be automatically set by running the test itself.") (license license:expat)))) +(define-public python-gcovr + (package + (name "python-gcovr") + (version "8.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gcovr" version)) + (sha256 + (base32 + "0ych0kqbxp5giksdkh6i32vh97zrsh3m2rfs02c8rxx7qkwp38zs")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatchling + python-hatch-fancy-pypi-readme + python-hatch-vcs + python-pytest + python-pytest-timeout)) + (propagated-inputs + (list python-lxml + python-jinja2 + python-colorlog + python-pygments + python-tomli)) + (home-page "https://gcovr.com/") + (synopsis "Utility for generating code coverage results") + (description + "Gcovr provides a utility for managing the use of the GNU gcov +utility and generating summarized code coverage results. It is inspired +by the Python coverage.py package, which provides a similar utility for +Python.") + (license license:bsd-3))) + (define-public python-green (package (name "python-green") -- cgit v1.3