From patchwork Sat Jun 1 15:36:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 65112 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 84D0727BBEB; Sat, 1 Jun 2024 16:41:29 +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=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 0F0CA27BBEA for ; Sat, 1 Jun 2024 16:41:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDQpx-000116-MY; Sat, 01 Jun 2024 11:40:05 -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 1sDQps-0000w2-4i for guix-patches@gnu.org; Sat, 01 Jun 2024 11:40:00 -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 1sDQpr-0007hO-Su for guix-patches@gnu.org; Sat, 01 Jun 2024 11:39:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDQq1-0003g0-HN for guix-patches@gnu.org; Sat, 01 Jun 2024 11:40:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70858] [PATCH python-team v2 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: Sat, 01 Jun 2024 15:40:09 +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.171725637713820 (code B ref 70858); Sat, 01 Jun 2024 15:40:09 +0000 Received: (at 70858) by debbugs.gnu.org; 1 Jun 2024 15:39:37 +0000 Received: from localhost ([127.0.0.1]:57144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQpV-0003aq-2b for submit@debbugs.gnu.org; Sat, 01 Jun 2024 11:39:37 -0400 Received: from 13.mo581.mail-out.ovh.net ([87.98.150.175]:49863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQpS-0003aY-Ja for 70858@debbugs.gnu.org; Sat, 01 Jun 2024 11:39:35 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.109.148.178]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Vs40n38lzz1BH6 for <70858@debbugs.gnu.org>; Sat, 1 Jun 2024 15:39:21 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-jljjs (unknown [10.110.113.89]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 339991FE0C; Sat, 1 Jun 2024 15:39:21 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-jljjs with ESMTPSA id 08ajCqlAW2YVTwAAUeVTmg (envelope-from ); Sat, 01 Jun 2024 15:39:21 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-98R002b83838b6-a282-4361-8b5c-11e568f3f838, 066A105622CFB65C0C1E9735678F98E7108F9FA5) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 1 Jun 2024 17:36:39 +0200 Message-ID: <20240601153854.30805-8-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240601153854.30805-1-ngraves@ngraves.fr> References: <20240601153854.30805-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 4659255291035050722 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdekkedgleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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 b849f6fdaa2..f45f375f38e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15086,25 +15086,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.