From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sM/dCxoCYmIkRgEAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 03:17:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KIfRCxoCYmJhWQAAauVa8A (envelope-from ) for ; Fri, 22 Apr 2022 03:17:14 +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 B63B33F509 for ; Fri, 22 Apr 2022 03:17:13 +0200 (CEST) Received: from localhost ([::1]:43802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhhv6-00066V-Vl for larch@yhetil.org; Thu, 21 Apr 2022 21:17:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhhiN-0006nZ-JH for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57229) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhhiN-0000I3-BW for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhhiN-00040j-82 for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH 3/6] gnu: python-meshio: Honor #:tests? flag. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 01:04:03 +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.165058939015287 (code B ref 55060); Fri, 22 Apr 2022 01:04:03 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 01:03:10 +0000 Received: from localhost ([127.0.0.1]:51112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhV-0003yP-KJ for submit@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:09 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:38022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhT-0003xq-RX for 55060@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:08 -0400 Date: Fri, 22 Apr 2022 01:02:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650589382; bh=jKvbXz3pLQGuzomA0RN9aY4oCnDRu+v4J1unZ10Gxss=; 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=KOCEiW0uCkXXeKo+uLcz+jP751JYcyt9EgLFultOPAWdW2V/t7Znv3YF/8AnpdkhC 6tUPdPkqf/T088tiEyPGIHQNO0yStB6ZPb2SntduBje+0kyO83TwEHwpJlbbkYodoa wSnwZZShe6BkXWrXuFHHu/c1Zyq9ud5kpE5DbkAm++0iZnKGFtFwPAzof4hTfqFLeG Jwzu/o5y1hZRMZp+eAa5SjIjYQrfYK1eoMznp3nsmDZTtZMNguRZIz3xX1o2wuRGE4 eWqO6BJRSFM900uOXkRW4fLQY1Og9yTFE/5umew8i38YDBs+WpW4Ytfff9Qiehe6mw IDUQmyoLhnO5g== From: "Paul A. Patience" Message-ID: <20220422010244.23280-3-paul@apatience.com> In-Reply-To: <20220422010244.23280-1-paul@apatience.com> References: <20220422010244.23280-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=1650590233; 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=jKvbXz3pLQGuzomA0RN9aY4oCnDRu+v4J1unZ10Gxss=; b=f8YFQ9WCVDaI7hnjb7BjP9EUOXCjNX/ISmikMiDST2f6Fwe3erRsNa6jpTdHcakQOsNwgY NsvBwkwQTsdUsGZKIRyNIC85hR4Osl0FkVXq2OymGWLZ8Rey1uFuIIpNygGcf+N10vxk4d dOm8FVJPIgXVH4O+J/JElohiyybmRtuYcPLL1N5t7VxogAsozcgRo1Dm6WBI1Hhtd/V8D2 KJAPM3rWcS7cnpuYGSw5qs0SHbBKNqEUvPOgrdLninRIVeQYvJTmvEf+WWRGs5VDzTkOri 5fYIhTHwC2y/B7svlMbYLaMCK10mf3ycTLZBVZhYlwcw9cvYbIgw5wUVyEI6hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650590233; a=rsa-sha256; cv=none; b=NkRknP1GDUTXxkqere4Us24uqUo+8bvG+yVLvzR+XE9WqsBU2HEgJIV6CDYPIrC9Y7MHXG xolpKKkJ+Yjf3akGQ9d40yMU93dnnJQjjPqPmMCuD4CZJyBPLKP7ilg/uu2JYcqyCkqnnk gmjt8fOgqQgD9OI4vW34Nsw0Wk8YjYTZCy6EPVJVg2MJWjDn7qLRJgmyCvwTJ/Tfko/fIh fTYnr5eXSs7s8g5jRbMMUEo/jRabFfrNEhvydDVoMzme0248aTZWRm7KindP/Sbsp2FQ/m IwbDfBCXZzpHC7YlLVLn3vzhJxp9NIbVyyDy9WWKUXi+aJoP2yTFUpHf8k9z0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=KOCEiW0u; 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: 1.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=KOCEiW0u; 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: B63B33F509 X-Spam-Score: 1.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: Mt9oAEZdeQlG * gnu/packages/simulation.scm (python-meshio)[arguments]: Adjust custom 'check' phase to honor the #:tests? flag. --- gnu/packages/simulation.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index fa246f9fb7..17d0a1352c 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -799,9 +799,10 @@ (define-public python-meshio `(#: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? outputs inputs #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (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.35.1