From patchwork Thu May 9 22:53:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 27278 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 B302B27BBE9; Thu, 9 May 2024 23:58:43 +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 AF61727BBEB for ; Thu, 9 May 2024 23:58:41 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5CiL-0006ww-Sw; Thu, 09 May 2024 18:58:13 -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 1s5CiK-0006rz-24 for guix-patches@gnu.org; Thu, 09 May 2024 18:58:12 -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 1s5CiJ-0006oZ-Ob for guix-patches@gnu.org; Thu, 09 May 2024 18:58:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5CiI-0002rk-2v for guix-patches@gnu.org; Thu, 09 May 2024 18:58:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70855] [PATCH 54/92] gnu: python-jaraco-context: Move to pyproject-build-system. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 May 2024 22:58:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70855@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70855-submit@debbugs.gnu.org id=B70855.171529546110692 (code B ref 70855); Thu, 09 May 2024 22:58:10 +0000 Received: (at 70855) by debbugs.gnu.org; 9 May 2024 22:57:41 +0000 Received: from localhost ([127.0.0.1]:41225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Chp-0002mI-2W for submit@debbugs.gnu.org; Thu, 09 May 2024 18:57:41 -0400 Received: from 5.mo561.mail-out.ovh.net ([87.98.178.36]:45985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Chd-0002kg-Hx for 70855@debbugs.gnu.org; Thu, 09 May 2024 18:57:30 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.148.164]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4Vb6py4Sr1z1MQf for <70855@debbugs.gnu.org>; Thu, 9 May 2024 22:57:30 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-m7hfg (unknown [10.110.168.204]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4E05A1FD4B; Thu, 9 May 2024 22:57:30 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-m7hfg with ESMTPSA id yB+CENpUPWbfkRUAbQBy3A (envelope-from ); Thu, 09 May 2024 22:57:30 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R0061c09a13e-38db-489b-883b-7e3eff7b50e8, E63BAB6C0A71DD4DA934779D5D345DF804807214) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 00:53:49 +0200 Message-ID: <20240509225530.24649-54-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240509225530.24649-1-ngraves@ngraves.fr> References: <20240509225530.24649-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 6114199445922898658 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdeffedgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht 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-jaraco-context)[build-system]: Move to pyproject-build-system. (python-jaraco)[arguments]: Convert <#:phases> to <#:test-flags>. Change-Id: Ifc9b8fc4a9a6c1c2f37fd014eeee1205cd2eb2c4 --- gnu/packages/python-xyz.scm | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 32991d57a1f..654224ee17e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11818,7 +11818,7 @@ (define-public python-jaraco-context-bootstrap (uri (pypi-uri "jaraco.context" version)) (sha256 (base32 "0hbjm1rpxf4pzmbdp9rh3ali4zqnlcr8m97bhh1nizxvzcpxim7h")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:tests? #f)) (native-inputs (list python-setuptools-scm)) (home-page "https://github.com/jaraco/jaraco.context") @@ -11835,14 +11835,9 @@ (define-public python-jaraco-context (package-arguments python-jaraco-context-bootstrap) ((#:tests? _ #f) (not (%current-target-system))) - ((#:phases phases #~%standard-phases) - #~(modify-phases #$phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; Do not test the myproject.toml build as it tries to pull - ;; dependencies from the Internet. - (invoke "pytest" "-vv" "-k" "not project")))))))) + ;; Do not test the myproject.toml build as it pulls dependencies. + ((#:test-flags test-flags '()) + '(list "-k" "not project")))) (native-inputs (modify-inputs (package-native-inputs python-jaraco-context-bootstrap)