From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +IF1M5FKcGKXfwAAbAwnHQ (envelope-from ) for ; Mon, 02 May 2022 23:18:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iNt9MpFKcGIAeQAAG6o9tA (envelope-from ) for ; Mon, 02 May 2022 23:18:09 +0200 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 6F2FF29261 for ; Mon, 2 May 2022 23:18:09 +0200 (CEST) Received: from localhost ([::1]:35166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nldQm-0005Po-53 for larch@yhetil.org; Mon, 02 May 2022 17:18:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nldQh-0005PM-5y for guix-patches@gnu.org; Mon, 02 May 2022 17:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nldQg-0008NO-Sy for guix-patches@gnu.org; Mon, 02 May 2022 17:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nldQg-0006Qw-Pi for guix-patches@gnu.org; Mon, 02 May 2022 17:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v4 3/8] gnu: python-meshio: Honor #:tests? flag. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 May 2022 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55060 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55060@debbugs.gnu.org Cc: "Paul A. Patience" Received: via spool by 55060-submit@debbugs.gnu.org id=B55060.165152623124601 (code B ref 55060); Mon, 02 May 2022 21:18:02 +0000 Received: (at 55060) by debbugs.gnu.org; 2 May 2022 21:17:11 +0000 Received: from localhost ([127.0.0.1]:38161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nldPq-0006Oj-T4 for submit@debbugs.gnu.org; Mon, 02 May 2022 17:17:11 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:21199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nldPp-0006OK-UU for 55060@debbugs.gnu.org; Mon, 02 May 2022 17:17:10 -0400 Date: Mon, 02 May 2022 21:16:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1651526224; bh=L/fHCByEvThgIFv5Mp4FeGbdzOqzpJKQUjEWW0Dy0IQ=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=a2LlT9qW0Vl69XFaYDnpO8R8iDpO6BZ6stFt5nNsPTp80fLcAqCoBG8NhRSFlGlxV Z2+VT8P60rN8KaCD/DMkfXrUf82/V7axy1Or9xEznRU5CbFGdgrv2csDHaYIiin+xs fpcTjMCwxJnPOj7RPhRRsX20bx2echnfyonyNMvlnfSjocBGqWOQS7ewS/GFVtpvcx Hln487aGaXTOambbDXQUTu6j0phdKaSH6ey4OFX9AVQ1gN5o6dxbD1seXrwGqwCvKN 1Vyib6mubAwDAG83raE0kWyRxIszaOJciUOBe4h5KrAWitRX0eWB4H9QNuYbCINcGz TObGgiQcatCOw== From: "Paul A. Patience" Message-ID: <20220502211624.689372-4-paul@apatience.com> In-Reply-To: <20220502211624.689372-1-paul@apatience.com> References: <20220502211624.689372-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: "Paul A. Patience" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651526289; 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-type:content-type: 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:dkim-signature; bh=L/fHCByEvThgIFv5Mp4FeGbdzOqzpJKQUjEWW0Dy0IQ=; b=a7lzfKa4duc9qwipS3YP9NaSfwTCUTpsqdLjgm3AEo6PvnnUPSCdVzp7KpKuCICI1SVq0t LQWhkbUA7gqPbC1NOYDKYz64S2fpHsAb0wH0S2d0n+CoVp/oI3Wu35MUsmuEHufDeZ1qoS fubRyY52I6RlXqA5ZSzKav7YR+rLMBHO9Qa/gb+UVwqQsVRbKZJTshtu9Yj3q83VvJG1w+ VE/nyr4nvSsayzYs/755P4yPtiEcoq9hr/Twb0d7OTQIiCdX/wjMqSFmOwc7Apzg9jYsWJ jU7apUoYsDBdvE8Yy2GW8gT5qaRy0X7/m6qBjFcUweFqEGYRp3DmzMUZZ3Akyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651526289; a=rsa-sha256; cv=none; b=TVD0dNoSmSWUGsB/wjgCxj3FQPRuQa40JSOTpqS/nv+1Dtst95U6PHtIcq2MV42kGgFLPR MDItnLsdW9N/dv2Jjm/lM3TVgUm2y8dJiot8CFbfyJLLsqWrMagDFbERQLhmLz1XbYm4ZN 4moczpglMoBiSOduoeH1Ix3RaZ0w4YqmfVJ2yHpOGEVmQptaxVe3/JxbtjUt9CkZDjrdRs 6GQ3BT+/P/1ufAEV9thjc0fViTkbKqqAfK7V6/qpNja6bMhM7EAz+Tl5t8GZ15DYxnJsqI tlDmWyiVKmmmY4pzhx6iURfSI8UizUFOppwJ4Yv7p0mtVaokyC+CfNTmRVGBsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=a2LlT9qW; dmarc=none; 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" X-Migadu-Spam-Score: 3.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=a2LlT9qW; dmarc=none; 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" X-Migadu-Queue-Id: 6F2FF29261 X-Spam-Score: 3.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: UDstJYx7E1o0 * gnu/packages/simulation.scm (python-meshio)[arguments]: Adjust custom 'check' phase to honor the #:tests? flag. Remove unnecessary 'add-installed-pythonpath' call. --- gnu/packages/simulation.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 42383bf486..b927392263 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -795,12 +795,12 @@ (define-public python-meshio (list python-importlib-metadata python-numpy)) (arguments - `(#:phases + '(#:phases (modify-phases %standard-phases (replace 'check - (lambda* (#:key outputs inputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest" "-v" "tests")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "-v" "tests"))))))) (home-page "https://github.com/nschloe/meshio") (synopsis "I/O for mesh files") (description "There are various file formats available for -- 2.36.0