From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id QPBPLwJaPWZrywAAqHPOHw:P1 (envelope-from ) for ; Fri, 10 May 2024 01:19:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QPBPLwJaPWZrywAAqHPOHw (envelope-from ) for ; Fri, 10 May 2024 01:19:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715296770; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=fcuP6kqzk0hHeKUMK+m6V2l1WfwokKP9TbfWR0l7G8k=; b=ttpyuP8npWdgtcilG4/IejjKA8iP1PnKWNSXBOJK1POx1CCvscrwRRwxc/3d7Fx8+b6P6U Sa0GWppsgr08xgPg4Iu6+QNrf1oWcPM6L5b3en05jsD1D/jd02hDPtTav9lnjHCQvfNUcm zLJe7yq1ZwQEZD0n5xMUs21QwZDcT5jDxyPnoteWsfx01BaI0R/h9GkvKqWF7RKe6GGz1a eOZCov/1fir78L2pJKPV0i7+J6U/2e110JKywoAHkB/yLf4aMroiq02fJuV2chAQdGnrOk yek7MCBCbkaXnGZizEz10BEtTCUFwxEZZ1a/gEwJcOjNwL+7yKWVP3clMBUCgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715296770; a=rsa-sha256; cv=none; b=JLhRys/HzAjINcIR//xNFC/ioY7yZph47ER0CDSMMpX++ldqtNKMG/uAjGTnknAesC10JY MikLt8YccsVZn5fj83m4NuMwma+ZTRJ1cdAP6XBZawfOS+JDj98OXSrgIou7ciAkB0JQYc N8hVXCSKWt/qXrF10k9rJUZeXfDse8klnSZ6u5j3PjMgkBAixbIbJQwgPszow5qpxshHDA Uqy9al3hdBEn2aHNzM732pAawso/OVh5qpFGkvXq30nnfarnozbBHwXf1WpeGrqWDuWISI ruNM2iSUiiR9T8RmxqJSHkQhfVr2eiIc4RorBYxPaxKFZ6sOE8IPqp208fYaaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6F1659C40 for ; Fri, 10 May 2024 01:19:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5CjG-0000jw-7z; Thu, 09 May 2024 18:59:10 -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 1s5CjE-0000cB-1y for guix-patches@gnu.org; Thu, 09 May 2024 18:59:08 -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 1s5CjD-0007Hb-NP for guix-patches@gnu.org; Thu, 09 May 2024 18:59:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5CjC-0002zh-1E for guix-patches@gnu.org; Thu, 09 May 2024 18:59:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70855] [PATCH 81/92] gnu: python-fenics-dijitso: 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:59:06 +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.171529551511344 (code B ref 70855); Thu, 09 May 2024 22:59:06 +0000 Received: (at 70855) by debbugs.gnu.org; 9 May 2024 22:58:35 +0000 Received: from localhost ([127.0.0.1]:41347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5Cih-0002we-63 for submit@debbugs.gnu.org; Thu, 09 May 2024 18:58:35 -0400 Received: from 1.mo560.mail-out.ovh.net ([46.105.63.121]:47273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5CiW-0002u5-LA for 70855@debbugs.gnu.org; Thu, 09 May 2024 18:58:29 -0400 Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.140.151]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4Vb6r14N2Zz1Gwf for <70855@debbugs.gnu.org>; Thu, 9 May 2024 22:58:25 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-mrg95 (unknown [10.110.178.46]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 53D251FE40; Thu, 9 May 2024 22:58:25 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-6684bf9d7b-mrg95 with ESMTPSA id zv2FERFVPWa7HCMAzzj8xg (envelope-from ); Thu, 09 May 2024 22:58:25 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 00:54:16 +0200 Message-ID: <20240509225530.24649-81-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 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6129680569855828706 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdeffedgudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhephfejtdfhfeelgeehveegffejhfekieduieehhffggfekheetvedvleduuedtuddunecuffhomhgrihhnpehgihhthhhusgdrtghomhdpsghithgsuhgtkhgvthdrohhrghenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehheesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht 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 From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.39 X-Spam-Score: -3.39 X-Migadu-Queue-Id: 6F1659C40 X-Migadu-Scanner: mx11.migadu.com X-TUID: 5hxKt/xbLfx5 * gnu/packages/simulation.scm (python-fenics-dijitso): [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Rewrite check phase replacement to care about .guix-pytest. Change-Id: I3383f4078fbb0100e6d8257d7d84785b953ab0cf --- gnu/packages/simulation.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index d5fc1e3d176..ed029efeac1 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -573,7 +573,7 @@ (define-public python-fenics-dijitso (sha256 (base32 "0lhqsq8ypdak0ahr2jnyvg07yrqp6wicjxi6k56zx24wp3qg60sc")))) - (build-system python-build-system) + (build-system pyproject-build-system) (inputs (list openmpi python-numpy)) (native-inputs @@ -586,15 +586,16 @@ (define-public python-fenics-dijitso (add-after 'build 'mpi-setup ,%openmpi-setup) (replace 'check - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (setenv "HOME" "/tmp") - (with-directory-excursion "test" - ;; Disable parallel tests to avoid race condition. See - ;; https://github.com/pytest-dev/pytest-cov/issues/237. - (substitute* "runtests.sh" - (("for p in 1 4 8 16; do") - "for p in 1; do")) - (invoke "./runtests.sh"))))))) + (with-guix-pytest-plugin inputs + (with-directory-excursion "test" + ;; Disable parallel tests to avoid race condition. See + ;; https://github.com/pytest-dev/pytest-cov/issues/237. + (substitute* "runtests.sh" + (("for p in 1 4 8 16; do") + "for p in 1; do")) + (invoke "./runtests.sh")))))))) (home-page "https://bitbucket.org/fenics-project/dijitso/") (synopsis "Distributed just-in-time building of shared libraries") (description -- 2.41.0