guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53019] [PATCH 1/9] gnu: Add python-codeclimate-test-reporter.


From: Giacomo Leidi
Subject: [bug#53019] [PATCH 1/9] gnu: Add python-codeclimate-test-reporter.
Date: Mon, 14 Mar 2022 23:36:07 +0100

* gnu/packages/python-xyz.scm (python-codeclimate-test-reporter): New variable.
---
 gnu/packages/python-check.scm | 39 +++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 05a378601f..eb6a6852c6 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
+;;; Copyright © 2022 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -38,6 +39,7 @@ (define-module (gnu packages python-check)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
@@ -1508,6 +1510,43 @@ (define-public python-pytest-qt
 interaction, like key presses and mouse clicks.")
     (license license:expat)))
 
+(define-public python-codeclimate-test-reporter
+  (package
+    (name "python-codeclimate-test-reporter")
+    (version "0.2.3")
+    (source
+     (origin
+       (method git-fetch)               ;no tests in pypi archive
+       (uri (git-reference
+             (url "https://github.com/codeclimate/python-test-reporter";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0mxph5l3k9ch4hs9l76k4wnmzhd94bylg92lvm2priyn24gkn9a1"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list git-minimal/fixed
+           python-httpretty
+           python-pytest))
+    (propagated-inputs
+     (list (package
+             (inherit python-coverage)
+             (version "4.3.4")
+             (source
+              (origin
+                (method url-fetch)
+                (uri (pypi-uri "coverage" version))
+                (sha256
+                 (base32
+                  "1prkwz1hkcbx19nsadbcmk4wl27ysx001pa8bykfagd3d87zxbpa")))))
+           python-requests))
+    (home-page "https://github.com/codeclimate/python-test-reporter";)
+    (synopsis "Reports test coverage to Code Climate")
+    (description "This package provides @{codclimate-test-reporter}, a Python
+library teport test coverage to Code Climate.")
+    (license license:expat)))
+
 (define-public python-codacy-coverage
   (package
     (name "python-codacy-coverage")

base-commit: f8aa76ab1fd3b4c9c87d2e68a811477adc844217
-- 
2.34.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]