unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Giacomo Leidi via Guix-patches via <guix-patches@gnu.org>
To: 53019@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>
Subject: [bug#53019] [PATCH 2/4] gnu: Add python-codeclimate-test-reporter.
Date: Wed,  5 Jan 2022 02:24:06 +0100	[thread overview]
Message-ID: <20220105012408.4874-2-goodoldpaul@autistici.org> (raw)
In-Reply-To: <20220105012408.4874-1-goodoldpaul@autistici.org>

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

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index b4e2765d72..031959c250 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)
@@ -1398,6 +1400,49 @@ (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)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-fixtures-paths
+           (lambda _
+             (substitute* "tests/test_formatter.py"
+               (("\\./tests/fixtures")
+                (string-append (getcwd) "/tests/fixtures")))
+             ;; FIXME: These tests fail with
+             ;; obscure error messages.
+             (for-each
+              (lambda (test-file)
+                (delete-file test-file))
+              '("tests/test_reporter.py"
+                "tests/test_runner.py")))))))
+    (native-inputs
+     (list git
+           python-httpretty
+           python-pytest))
+    (propagated-inputs
+     (list python-coverage
+           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")
-- 
2.34.0





  reply	other threads:[~2022-01-05  1:25 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05  1:18 [bug#53019] [PATCHES] Add aerich Giacomo Leidi via Guix-patches via
2022-01-05  1:24 ` [bug#53019] [PATCH 1/4] gnu: python-dictdiffer: Fix broken test suite Giacomo Leidi via Guix-patches via
2022-01-05  1:24   ` Giacomo Leidi via Guix-patches via [this message]
2022-01-05  1:24   ` [bug#53019] [PATCH 3/4] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-01-05  1:24   ` [bug#53019] [PATCH 4/4] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-01-24 17:21 ` [bug#53019] (no subject) paul via Guix-patches via
2022-03-05 23:14 ` [bug#53019] friendly ping paul via Guix-patches via
2022-03-05 23:14 ` [bug#53019] [PATCH 1/3] gnu: Add python-codeclimate-test-reporter Giacomo Leidi via Guix-patches via
2022-03-05 23:14   ` [bug#53019] [PATCH 2/3] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-03-06 10:19     ` Maxime Devos
2022-03-06 10:19     ` Maxime Devos
2022-03-14 22:27       ` paul via Guix-patches via
2022-03-05 23:14   ` [bug#53019] [PATCH 3/3] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-03-06 10:21     ` Maxime Devos
2022-03-14 22:30       ` paul via Guix-patches via
2022-03-06 10:31     ` Maxime Devos
2022-03-14 22:34       ` paul via Guix-patches via
2022-03-06 10:32     ` Maxime Devos
2022-03-14 22:35       ` paul via Guix-patches via
2022-03-06 10:17   ` [bug#53019] [PATCH 1/3] gnu: Add python-codeclimate-test-reporter Maxime Devos
2022-03-14 22:12     ` paul via Guix-patches via
2022-03-06 10:18   ` Maxime Devos
2022-03-14 22:14     ` paul via Guix-patches via
2022-03-06 10:28   ` Maxime Devos
2022-03-14 22:27     ` paul via Guix-patches via
2022-03-14 22:36 ` [bug#53019] [PATCH 1/9] " Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 2/9] yyy Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 3/9] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 4/9] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 5/9] gnu: Add python-pytest-cov-3.0 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 6/9] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 7/9] gnu: python-pypika-tortoise: Update to 0.1.3 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 8/9] gnu: python-tortoise-orm: Update to 0.18.1 Giacomo Leidi via Guix-patches via
2022-03-14 22:36   ` [bug#53019] [PATCH 9/9] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-03-14 22:41 ` [bug#53019] Apologies for the noise paul via Guix-patches via
2022-03-14 22:41 ` [bug#53019] [PATCH 1/8] gnu: Add python-codeclimate-test-reporter Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 2/8] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 3/8] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 4/8] gnu: Add python-pytest-cov-3.0 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 5/8] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 6/8] gnu: python-pypika-tortoise: Update to 0.1.3 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 7/8] gnu: python-tortoise-orm: Update to 0.18.1 Giacomo Leidi via Guix-patches via
2022-03-14 22:41   ` [bug#53019] [PATCH 8/8] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-05-31 22:38 ` [bug#53019] (no subject) goodoldpaul--- via Guix-patches via
2022-07-01 21:32 ` [bug#53019] [PATCHES] Add aerich goodoldpaul--- via Guix-patches via
2022-07-01 21:32 ` [bug#53019] [PATCH 1/6] gnu: Add python-codeclimate-test-reporter Giacomo Leidi via Guix-patches via
2022-07-01 21:32   ` [bug#53019] [PATCH 2/6] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2022-07-30 21:04     ` Maxime Devos
2022-07-01 21:32   ` [bug#53019] [PATCH 3/6] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2022-07-30 21:02     ` Maxime Devos
2022-10-10 20:50       ` goodoldpaul--- via Guix-patches via
2022-07-01 21:33   ` [bug#53019] [PATCH 4/6] gnu: Add python-pytest-cov-3.0 Giacomo Leidi via Guix-patches via
2022-07-30 21:09     ` Maxime Devos
2022-07-30 22:52       ` goodoldpaul--- via Guix-patches via
2022-07-30 23:13         ` Maxime Devos
2022-10-10 21:29           ` goodoldpaul--- via Guix-patches via
2022-07-01 21:33   ` [bug#53019] [PATCH 5/6] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-07-01 21:33   ` [bug#53019] [PATCH 6/6] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2022-07-30 21:09   ` [bug#53019] [PATCH 1/6] gnu: Add python-codeclimate-test-reporter Maxime Devos
2022-10-10 20:51     ` goodoldpaul--- via Guix-patches via
2022-10-10 21:30 ` [bug#53019] [PATCH 1/4] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2022-10-10 21:30   ` [bug#53019] [PATCH 2/4] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2022-10-10 21:30   ` [bug#53019] [PATCH 3/4] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2022-10-10 21:30   ` [bug#53019] [PATCH 4/4] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2023-01-04 15:56 ` [bug#53019] [PATCHES] Add aerich goodoldpaul--- via Guix-patches via
2023-01-04 16:08 ` [bug#53019] [PATCHv2 1/4] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2023-01-04 16:08   ` [bug#53019] [PATCHv2 2/4] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2023-01-04 16:08   ` [bug#53019] [PATCHv2 3/4] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2023-01-04 16:08   ` [bug#53019] [PATCHv2 4/4] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2023-04-12 21:50 ` [bug#53019] [PATCHv3 1/4] gnu: Add python-coverage-5.5 Giacomo Leidi via Guix-patches via
2023-04-12 21:50   ` [bug#53019] [PATCHv3 2/4] gnu: python-codecov: Update to 2.1.12 Giacomo Leidi via Guix-patches via
2023-04-12 21:50   ` [bug#53019] [PATCHv3 3/4] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2023-04-12 21:50   ` [bug#53019] [PATCHv3 4/4] gnu: Add python-aerich Giacomo Leidi via Guix-patches via
2023-10-29 12:06 ` [bug#53019] [53019]: Add aerich - Rebase on current master paul via Guix-patches via
2023-10-29 12:07 ` [bug#53019] [PATCH v4 1/2] gnu: Add python-ddlparse Giacomo Leidi via Guix-patches via
2023-10-29 12:07   ` [bug#53019] [PATCH v4 2/2] gnu: Add aerich Giacomo Leidi via Guix-patches via
2023-10-30 11:26     ` Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220105012408.4874-2-goodoldpaul@autistici.org \
    --to=guix-patches@gnu.org \
    --cc=53019@debbugs.gnu.org \
    --cc=goodoldpaul@autistici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).