From patchwork Mon Mar 14 22:36:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 37805 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3818227BBEB; Mon, 14 Mar 2022 22:40:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D8FDD27BBE9 for ; Mon, 14 Mar 2022 22:40:22 +0000 (GMT) Received: from localhost ([::1]:41116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTtMT-0007kC-Rs for patchwork@mira.cbaines.net; Mon, 14 Mar 2022 18:40:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTtMC-0007c1-9n for guix-patches@gnu.org; Mon, 14 Mar 2022 18:40:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTtMC-0001ff-1V for guix-patches@gnu.org; Mon, 14 Mar 2022 18:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTtMB-0004Th-V9 for guix-patches@gnu.org; Mon, 14 Mar 2022 18:40:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53019] [PATCH 1/9] gnu: Add python-codeclimate-test-reporter. References: <877aca93-bd87-3314-dbf9-ae9b0c537eb9@autistici.org> In-Reply-To: <877aca93-bd87-3314-dbf9-ae9b0c537eb9@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Mar 2022 22:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53019@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 53019-submit@debbugs.gnu.org id=B53019.164729757517111 (code B ref 53019); Mon, 14 Mar 2022 22:40:03 +0000 Received: (at 53019) by debbugs.gnu.org; 14 Mar 2022 22:39:35 +0000 Received: from localhost ([127.0.0.1]:46784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTtLi-0004Rp-U5 for submit@debbugs.gnu.org; Mon, 14 Mar 2022 18:39:35 -0400 Received: from confino.investici.org ([212.103.72.250]:53513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTtLV-0004QH-IM for 53019@debbugs.gnu.org; Mon, 14 Mar 2022 18:39:23 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4KHWgD2q6xz10vP; Mon, 14 Mar 2022 22:39:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1647297560; bh=jr9f76f7r98Mn+sfPItRWk4u8J2gfY6QVklt92M1Stc=; h=From:To:Cc:Subject:Date:From; b=U3lHw+Cw30txrhBLgqw3nwMPJ1STv9uBF8tBYiUKujnx7psCpC+l+mkurt/ESLxfb BY0nDfOV4XBHFunetla826vEgqmzrKe88kwOnq3/dGHsMoGu8kxXlaCLPmGTqL77Xd ByCc1KHZlfghTyZXQqHXh0dW3+qFghEGALPpCjpw= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4KHWgD0ffxz10vL; Mon, 14 Mar 2022 22:39:20 +0000 (UTC) Date: Mon, 14 Mar 2022 23:36:07 +0100 Message-Id: <20220314223614.17668-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-codeclimate-test-reporter): New variable. --- gnu/packages/python-check.scm | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) base-commit: f8aa76ab1fd3b4c9c87d2e68a811477adc844217 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 ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Bonface Munyoki Kilyungi +;;; Copyright © 2022 Giacomo Leidi ;;; ;;; 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")