From patchwork Fri May 10 07:55:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 27343 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 B052827BBE2; Fri, 10 May 2024 08:57:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham 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 68C0127BBEE for ; Fri, 10 May 2024 08:57:56 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5L8W-00029V-J0; Fri, 10 May 2024 03:57:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5L7p-0001tA-Pu for guix-patches@gnu.org; Fri, 10 May 2024 03:57:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5L7p-0005Tx-EK for guix-patches@gnu.org; Fri, 10 May 2024 03:57:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5L7n-0000TU-Vh for guix-patches@gnu.org; Fri, 10 May 2024 03:57:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70858] [PATCH 07/32] gnu: python-cram: Remove python-coverage native-input. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 May 2024 07:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70858 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70858@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70858-submit@debbugs.gnu.org id=B70858.17153277851544 (code B ref 70858); Fri, 10 May 2024 07:57:03 +0000 Received: (at 70858) by debbugs.gnu.org; 10 May 2024 07:56:25 +0000 Received: from localhost ([127.0.0.1]:41709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5L7A-0000Of-UF for submit@debbugs.gnu.org; Fri, 10 May 2024 03:56:25 -0400 Received: from 17.mo550.mail-out.ovh.net ([87.98.179.142]:51737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5L73-0000Nh-QB for 70858@debbugs.gnu.org; Fri, 10 May 2024 03:56:19 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.25.166]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4VbLmd5Mpcz1P7d for <70858@debbugs.gnu.org>; Fri, 10 May 2024 07:56:17 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-72xp9 (unknown [10.111.182.238]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 792FB1FE02; Fri, 10 May 2024 07:56:17 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-72xp9 with ESMTPSA id MWwuFCHTPWYICgAAXGzE8w (envelope-from ); Fri, 10 May 2024 07:56:17 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G00610fcc301-6a4c-484e-aba1-ed3a2236c2ad, E63BAB6C0A71DD4DA934779D5D345DF804807214) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 09:55:11 +0200 Message-ID: <20240510075605.6303-7-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240510075605.6303-1-ngraves@ngraves.fr> References: <20240510075605.6303-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 15213441020142805730 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdefjedgvdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejtdekheekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-cram): [native-inputs]: Remove python-coverage. [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Adapt check and patch-source phases to coverage removal. Change-Id: I83fafcdcfbc977f9d3e3411d01d23d9a0e120ec6 --- gnu/packages/python-xyz.scm | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e84ce7df3eb..108b32d0459 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15081,25 +15081,17 @@ (define-public python-cram ;; causes the line showing the default shell to break into two ;; lines, but the test expects a single line... (("env\\['COLUMNS'\\] = '80'") - "env['COLUMNS'] = '160'")) - - (substitute* "Makefile" - ;; Recent versions of python-coverage have caused the test - ;; coverage to decrease (as of version 0.7). Allow that. - (("--fail-under=100") - "--fail-under=90")) - - #t)) + "env['COLUMNS'] = '160'")))) (replace 'check ;; The test phase uses the built library and executable. (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (setenv "PATH" (string-append (getenv "PATH") ":" (assoc-ref outputs "out") "/bin")) - (invoke "make" "test")))))) - (build-system python-build-system) + (invoke "make" "quicktest")))))) + (build-system pyproject-build-system) (native-inputs - (list python-coverage python-setuptools python-wheel which)) + (list python-setuptools python-wheel which)) (synopsis "Simple testing framework for command line applications") (description "Cram is a functional testing framework for command line applications.