all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#40172] [PATCH] gnu: add python-gcovr.
@ 2020-03-21 19:47 Alexandros Theodotou
  2020-03-23  9:47 ` bug#40172: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandros Theodotou @ 2020-03-21 19:47 UTC (permalink / raw)
  To: 40172


[-- Attachment #1.1: Type: text/plain, Size: 48 bytes --]

Hi,

This patch adds gcovr.

Thanks,
Alex

[-- Attachment #1.2: 0001-gnu-add-python-gcovr.patch --]
[-- Type: text/x-patch, Size: 1782 bytes --]

From c624e0ec8bb4ebe2bb7af6a2d86aafbf072c4891 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Sat, 21 Mar 2020 19:45:14 +0000
Subject: [PATCH] gnu: add python-gcovr.

* gnu/packages/python-xyz.scm (python-gcovr): New variable.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d0da9b36c3..9ede8b4c93 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -70,6 +70,7 @@
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 sirgazil <sirgazil@zoho.com>
 ;;; Copyright © 2020 Sebastian Schott <sschott@mailbox.org>
+;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -18358,3 +18359,28 @@ sequences.")
 
 (define-public python2-fuzzywuzzy
   (package-with-python2 python-fuzzywuzzy))
+
+(define-public python-gcovr
+  (package
+    (name "python-gcovr")
+    (version "4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "gcovr" version))
+       (sha256
+        (base32
+          "0gyady7x3v3l9fm1zan0idaggqqcm31y7g5vxk7h05p5h7f39bjs"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-lxml" ,python-lxml)
+       ("python-jinja2" ,python-jinja2)))
+    (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)))
-- 
2.25.1


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#40172: [PATCH] gnu: add python-gcovr.
  2020-03-21 19:47 [bug#40172] [PATCH] gnu: add python-gcovr Alexandros Theodotou
@ 2020-03-23  9:47 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-03-23  9:47 UTC (permalink / raw)
  To: Alexandros Theodotou; +Cc: 40172-done

Alexandros Theodotou <alex@zrythm.org> skribis:

> From c624e0ec8bb4ebe2bb7af6a2d86aafbf072c4891 Mon Sep 17 00:00:00 2001
> From: Alexandros Theodotou <alex@zrythm.org>
> Date: Sat, 21 Mar 2020 19:45:14 +0000
> Subject: [PATCH] gnu: add python-gcovr.
>
> * gnu/packages/python-xyz.scm (python-gcovr): New variable.

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-23  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 19:47 [bug#40172] [PATCH] gnu: add python-gcovr Alexandros Theodotou
2020-03-23  9:47 ` bug#40172: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.