From patchwork Fri Apr 22 12:41:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38741 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 5925B27BBEA; Fri, 22 Apr 2022 13:42:39 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 1F37627BBE9 for ; Fri, 22 Apr 2022 13:42:39 +0100 (BST) Received: from localhost ([::1]:36214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhscP-0007nH-JS for patchwork@mira.cbaines.net; Fri, 22 Apr 2022 08:42:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhsbr-0007hU-2v for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhsbq-0005pZ-OG for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhsbq-0004uI-Jq for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v2 1/6] gnu: python-meshio: Remove input labels. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 12:42: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.165063130318783 (code B ref 55060); Fri, 22 Apr 2022 12:42:02 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 12:41:43 +0000 Received: from localhost ([127.0.0.1]:51892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbX-0004ss-Ed for submit@debbugs.gnu.org; Fri, 22 Apr 2022 08:41:43 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:21864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbV-0004sY-SZ for 55060@debbugs.gnu.org; Fri, 22 Apr 2022 08:41:42 -0400 Date: Fri, 22 Apr 2022 12:41:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650631295; bh=OUneS62/ePuR4yliYOSZfZ/nlMzG3hbMDz8q5hiZN8k=; 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=cIOjvEgwEy4OTcBEmNIfV5q7fW5pljSD8gmHZYaexfLokM5qjd70O8h7WfTzzUIFB 6WjaxjLa3Tc9U9q23YvX1dWTC+EIb0UelDzX5tkfRtpuCM54Q2+IF4QVSqo0+SP8Qp uS7Kfx6Nv+YrGdq2lBG+tjHtN8gvw6bndV14aEoa2NHTQZ4ihTD8K1SxEFgdrPGO/3 S4dOvrM05LRZTuhmN/fK2vQRbFCSCu/DQct8yHFH95Fzahof1iREABi+xMXYRT5Q1t C00Lyznv37Eb48eorCjzSbCmoauvrRb5Hhs3dIlX2+TA6c/LjSOxAZFSMz0tY4cn6e TnNjiRovi8ofg== From: "Paul A. Patience" Message-ID: <20220422124118.66783-2-paul@apatience.com> In-Reply-To: <20220422124118.66783-1-paul@apatience.com> References: <20220422124118.66783-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/simulation.scm (python-meshio)[inputs, native-inputs, propagated-inputs]: Remove labels. --- gnu/packages/simulation.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.35.1 diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 3f2d8e136d..c8309761d2 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -789,13 +789,13 @@ (define-public python-meshio #t)))) (build-system python-build-system) (inputs - `(("h5py" ,python-h5py) - ("netcdf4" ,python-netcdf4))) + (list python-h5py + python-netcdf4)) (native-inputs - `(("pytest" ,python-pytest))) + (list python-pytest)) (propagated-inputs - `(("importlib-metadata" ,python-importlib-metadata) - ("numpy" ,python-numpy))) + (list python-importlib-metadata + python-numpy)) (arguments `(#:phases (modify-phases %standard-phases From patchwork Fri Apr 22 12:41:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38749 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 E2ED527BBEA; Fri, 22 Apr 2022 13:56:23 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 AE08727BBE9 for ; Fri, 22 Apr 2022 13:56:23 +0100 (BST) Received: from localhost ([::1]:33446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhspi-0005zn-Fi for patchwork@mira.cbaines.net; Fri, 22 Apr 2022 08:56:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhsbs-0007ju-0p for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhsbr-0005pz-Nb for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhsbr-0004uf-Lj for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v2 2/6] gnu: python-meshio: Remove trailing booleans. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 12:42: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.165063130918809 (code B ref 55060); Fri, 22 Apr 2022 12:42:03 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 12:41:49 +0000 Received: from localhost ([127.0.0.1]:51898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbc-0004tJ-Qq for submit@debbugs.gnu.org; Fri, 22 Apr 2022 08:41:49 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:29709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbZ-0004se-OO for 55060@debbugs.gnu.org; Fri, 22 Apr 2022 08:41:46 -0400 Date: Fri, 22 Apr 2022 12:41:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650631299; bh=B/WAQmszb2kv/G/m29h2Mbv2j/mrrXVr0V3FBwDazD4=; 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=UkHT9GYyQjWLf7sT58x//GsU3rP5QiHdcs42Nz0OvjIN7uTU7pg0W944UCTJyADVY 7Mf3EROSkB2TjL5y3wrrJ91VcPi7IfjWfbQTSpfoGztySwgkmXZJj+Oj1mp6K+vGLs QzQbQ4FCvEyRq+FZYKo1WZQKnnWOVR+tm/Knt7U8Hp7gem6dSPY5LVrrVID4SKreGL xe0RhjtNwZtHqQntVSKr2I/bcfjrms0i/9/vqCIHp/1JV8CyFcNbVIF8XPEev0BW7y VlG7eCo3eao56u1f37TTIMMa36ziaIzZR42BtPesVjRugb4A1E4ncjgdOvS6LBEQgU BDneR92cVRKZA== From: "Paul A. Patience" Message-ID: <20220422124118.66783-3-paul@apatience.com> In-Reply-To: <20220422124118.66783-1-paul@apatience.com> References: <20220422124118.66783-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/simulation.scm (python-meshio)[snippet]: Remove trailing boolean. [arguments]: Same. --- gnu/packages/simulation.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- 2.35.1 diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index c8309761d2..fa246f9fb7 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -785,8 +785,7 @@ (define-public python-meshio '(begin (let ((file (open-file "setup.py" "a"))) (display "from setuptools import setup\nsetup()" file) - (close-port file)) - #t)))) + (close-port file)))))) (build-system python-build-system) (inputs (list python-h5py @@ -802,8 +801,7 @@ (define-public python-meshio (replace 'check (lambda* (#:key outputs inputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest" "-v" "tests") - #t))))) + (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 From patchwork Fri Apr 22 12:41:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38750 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 2578727BBEA; Fri, 22 Apr 2022 14:00:06 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 E22CE27BBE9 for ; Fri, 22 Apr 2022 14:00:05 +0100 (BST) Received: from localhost ([::1]:38728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhstI-00029E-J6 for patchwork@mira.cbaines.net; Fri, 22 Apr 2022 09:00:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhsbs-0007l4-Da for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhsbs-0005q7-36 for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhsbs-0004um-1S for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v2 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 12:42: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.165063131318828 (code B ref 55060); Fri, 22 Apr 2022 12:42:03 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 12:41:53 +0000 Received: from localhost ([127.0.0.1]:51902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbh-0004tb-28 for submit@debbugs.gnu.org; Fri, 22 Apr 2022 08:41:53 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:45287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbf-0004t9-Ed for 55060@debbugs.gnu.org; Fri, 22 Apr 2022 08:41:51 -0400 Date: Fri, 22 Apr 2022 12:41:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650631305; 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=Vj697fdHiovpxLiO0JWHFQzCjGSPaJcR8R3z5/sEr4W3DcnSWpFpsnopH2T6CUYu6 i+w/xCz4uvfKcbVqB5JnfVzXeBiPQW6IALnxdnQxWhqukGF09Hnm5yXZZ9h3xrUrrh fldtcoSuwQ0/RH2iM/jgDugVzshHvR1VTGExdtfadpB8+X/kNdnnqdsedHd2sPw/IF X85AFhuxWbiIQJDYUvSaKAkgburjb22aGVpTN+60rIa4rtB14yIIgkt3Vsy/u9lC8v zP0O28a4ys7xz1RClZKV4aiecG6Tex1p772v5SJOdbqeqs85rr8GmNk2DhvHuMA02J 38ShWIWP9bGtg== From: "Paul A. Patience" Message-ID: <20220422124118.66783-4-paul@apatience.com> In-Reply-To: <20220422124118.66783-1-paul@apatience.com> References: <20220422124118.66783-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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(-) -- 2.35.1 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 From patchwork Fri Apr 22 12:41:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38752 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 86A9427BBEA; Fri, 22 Apr 2022 14:16:08 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 167FB27BBE9 for ; Fri, 22 Apr 2022 14:16:07 +0100 (BST) Received: from localhost ([::1]:35504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nht8o-0005lf-1o for patchwork@mira.cbaines.net; Fri, 22 Apr 2022 09:16:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhsbs-0007mA-Pv for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhsbs-0005qJ-Fz for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhsbs-0004uu-Dt for guix-patches@gnu.org; Fri, 22 Apr 2022 08:42:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v2 4/6] gnu: python-meshio: Update to 5.3.4. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 12:42:04 +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.165063132118855 (code B ref 55060); Fri, 22 Apr 2022 12:42:04 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 12:42:01 +0000 Received: from localhost ([127.0.0.1]:51906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbp-0004u3-AY for submit@debbugs.gnu.org; Fri, 22 Apr 2022 08:42:01 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:10952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbn-0004tj-5F for 55060@debbugs.gnu.org; Fri, 22 Apr 2022 08:41:59 -0400 Date: Fri, 22 Apr 2022 12:41:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650631313; bh=+Ae0RkemAsJ1U8DOBUEWEEXst4oF+PhkGqBoW7IJ5Wc=; 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=c7PX3RbEgGCtkh6Zvc/Itw/OFeYZ8bZQdTQQq0kV/aO0Yw2divDTSIsa6tq2s0+mu nw8Zvkqp9Y1cwt02HD4/zn8ocWbcLTTMUQnY2nUbgixWmk/fV/Z6XE3Eu/98YnDOJz /dEtIVX+RUK60cDHmBdkTeZ2FI2BqQO67aDbm7sEoLD8/O8udCGY48C2kHSeTHGtwY laoB9LR+Qju5pyZ8+4KbKg+M4No7GJr0S1r73335qQDbxExwGMj8Spgohf4HyYVsug L7IMW6VJmiwyFfm5h2JYD52gr6QzRMe87e3tq4F/cAUpP0RPc/63Lb4ro6KSemhyIQ W/nIAUPd25Crw== From: "Paul A. Patience" Message-ID: <20220422124118.66783-5-paul@apatience.com> In-Reply-To: <20220422124118.66783-1-paul@apatience.com> References: <20220422124118.66783-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/simulation.scm (python-meshio): Update to 5.3.4. [source]: Reindent. [propagated-inputs]: Add python-rich. --- gnu/packages/simulation.scm | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) -- 2.35.1 diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 17d0a1352c..803127339c 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -773,19 +773,19 @@ (define-public fullswof-2d (define-public python-meshio (package (name "python-meshio") - (version "4.4.6") + (version "5.3.4") (source - (origin - (method url-fetch) - (uri (pypi-uri "meshio" version)) - (sha256 - (base32 - "0kv832s2vyff30zz8yqypw5jifwdanvh5x56d2bzkvy94h4jlddy")) - (snippet - '(begin - (let ((file (open-file "setup.py" "a"))) - (display "from setuptools import setup\nsetup()" file) - (close-port file)))))) + (origin + (method url-fetch) + (uri (pypi-uri "meshio" version)) + (sha256 + (base32 + "1w39qcg0rw5kb04j7sa45fnqd6k20fsdgrf62cmw2ygjgwnnjh72")) + (snippet + '(begin + (let ((file (open-file "setup.py" "a"))) + (display "from setuptools import setup\nsetup()" file) + (close-port file)))))) (build-system python-build-system) (inputs (list python-h5py @@ -794,7 +794,8 @@ (define-public python-meshio (list python-pytest)) (propagated-inputs (list python-importlib-metadata - python-numpy)) + python-numpy + python-rich)) (arguments `(#:phases (modify-phases %standard-phases From patchwork Fri Apr 22 12:41:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38753 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 737F027BBEA; Fri, 22 Apr 2022 14:16:18 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 2FCC027BBE9 for ; Fri, 22 Apr 2022 14:16:18 +0100 (BST) Received: from localhost ([::1]:36204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nht8z-0006OA-CP for patchwork@mira.cbaines.net; Fri, 22 Apr 2022 09:16:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhsco-0000om-52 for guix-patches@gnu.org; Fri, 22 Apr 2022 08:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhscn-00061M-Rn for guix-patches@gnu.org; Fri, 22 Apr 2022 08:43:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhscn-0004ws-Pg for guix-patches@gnu.org; Fri, 22 Apr 2022 08:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v2 5/6] gnu: Add python-scooby. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 12:43:01 +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.165063133218939 (code B ref 55060); Fri, 22 Apr 2022 12:43:01 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 12:42:12 +0000 Received: from localhost ([127.0.0.1]:51917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbv-0004vL-KZ for submit@debbugs.gnu.org; Fri, 22 Apr 2022 08:42:12 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:35337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbt-0004ty-FA for 55060@debbugs.gnu.org; Fri, 22 Apr 2022 08:42:06 -0400 Date: Fri, 22 Apr 2022 12:41:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650631319; bh=CQLqEdB7Y1T2BJ8QmLOgOjKNcBZ/UWI77DE0Syr4ZaA=; 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=FX8gHFDlWApuA2ZcPkyPLDcbjLiFrovacW1hmKaj4v7Wll49yGQ2hZ9G2u6MYjxB9 4Enx9vZ3NgvLK9CkiC6KiW9Fthsim1if55z12UKckW5IeWqfWHoRu7ttuMEoB6Bwyt 3ltiZMrPRzPuowbmm9fTBHSVEn4SIfgzrkI2doRAFvDUhmLcQdR4gWf/WLid07VHZN gAFsYS3SdteeIT3mqvscyKGatbQONR3YGbP993MzzT21k+ON+P7Jzf/qR6W1l1BLNW yfWHanLc+uAm2U5hpuzGp801vZcqt5n53kYNN/KYWS7SbccJc18dl2PAbkrmYBdSdf Ls6/US7gAnkrA== From: "Paul A. Patience" Message-ID: <20220422124118.66783-6-paul@apatience.com> In-Reply-To: <20220422124118.66783-1-paul@apatience.com> References: <20220422124118.66783-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-scooby): New variable. --- gnu/packages/python-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) -- 2.35.1 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9a5d311680..3a49f46555 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -119,6 +119,7 @@ ;;; Copyright © 2022 Evgeny Pisemsky ;;; Copyright © 2022 drozdov ;;; Copyright © 2022 Peter Polidoro +;;; Copyright © 2022 Paul A. Patience ;;; ;;; This file is part of GNU Guix. ;;; @@ -29534,3 +29535,50 @@ (define-public python-sre-yield uses the parsed regular expression, so you get a much more accurate result than trying to just split strings.") (license license:asl2.0))) + +(define-public python-scooby + (package + (name "python-scooby") + (version "0.5.12") + (source + ;; The PyPI tarball does not contain the tests. + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/banesullivan/scooby") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gkpmz8wl3jg8ylf1na35308sznw2g9wx33zqlyq5i2gpy2ml9mw")))) + (build-system python-build-system) + (native-inputs + (list python-beautifulsoup4 + python-numpy + python-pytest + python-pytest-cov + python-scipy)) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + (substitute* "tests/test_scooby.py" + ;; The test suite uses the no-version PyPI package + ;; (https://pypi.org/project/no-version/), + ;; but it doesn't seem worth packaging in Guix just for this. + (("scooby\\.report\\.VERSION_NOT_FOUND") + "scooby.report.MODULE_NOT_FOUND") + (("^ +import no_version # noqa.*") "") + (("with pytest\\.raises\\(OSError\\):") + "with pytest.raises(ModuleNotFoundError):")))) + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest"))))))) + (home-page "https://github.com/banesullivan/scooby") + (synopsis "Great Dane turned Python environment detective") + (description + "This is a lightweight tool for easily reporting your Python +environment's package versions and hardware resources.") + (license license:expat))) From patchwork Fri Apr 22 12:41:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38751 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 BA2BC27BBEA; Fri, 22 Apr 2022 14:03:44 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 7654227BBE9 for ; Fri, 22 Apr 2022 14:03:44 +0100 (BST) Received: from localhost ([::1]:43824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhswp-00063v-Hd for patchwork@mira.cbaines.net; Fri, 22 Apr 2022 09:03:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhsco-0000pl-Ik for guix-patches@gnu.org; Fri, 22 Apr 2022 08:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhsco-00061R-7X for guix-patches@gnu.org; Fri, 22 Apr 2022 08:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhsco-0004wz-5q for guix-patches@gnu.org; Fri, 22 Apr 2022 08:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v2 6/6] gnu: Add python-pyvista. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 12:43: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.165063133718959 (code B ref 55060); Fri, 22 Apr 2022 12:43:02 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 12:42:17 +0000 Received: from localhost ([127.0.0.1]:51921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsc1-0004vc-3o for submit@debbugs.gnu.org; Fri, 22 Apr 2022 08:42:16 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:51620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsbw-0004uZ-FT for 55060@debbugs.gnu.org; Fri, 22 Apr 2022 08:42:12 -0400 Date: Fri, 22 Apr 2022 12:41:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650631322; bh=1c75R4HPlM9pivWD5EnG2A3vqV4dX9PeU9VAUj16CUE=; 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=JNmvMw4G39FYxAoBtX+sxtaQxWiO+HLI8IgEmgb2vX+fABu+AYog2LTvR6aN9nOdm 2C4v3UvptVRhhEiOYrzbjf35MxCUl5Estun8KPpGYgTIU/xW2N+pHvJeICpcNL5/Jg iX/e7rmG/lvnBUA4R4P2en7QCTGJrWJIHYp1CTIZmA249187VLI7SQ8OSRKCKjIMHN 1hnKNo0iIFW8RByPluFGZyG0dfNm2aBdXJKLYGkwuPJ2TYZmirH6C9wU1fCVgdy13k LCqiD+gAihCv72eF8N4HKUjTbnBQvCDcmnBUDuqx6TZuFJRgC5Iuq7niK6ihit+5JO +9T/7ctgmMl1A== From: "Paul A. Patience" Message-ID: <20220422124118.66783-7-paul@apatience.com> In-Reply-To: <20220422124118.66783-1-paul@apatience.com> References: <20220422124118.66783-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-pyvista): New variable. --- gnu/packages/python-science.scm | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) -- 2.35.1 diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 07d713e013..c2b7a665f7 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2022 Malte Frank Gerdes ;;; Copyright © 2022 Guillaume Le Vaillant +;;; Copyright © 2022 Paul A. Patience ;;; ;;; This file is part of GNU Guix. ;;; @@ -1183,3 +1184,58 @@ (define-public python-numpy-groupies "This package provides optimized tools for group-indexing operations: aggregated sum and more.") (license license:bsd-3))) + +(define-public python-pyvista + (package + (name "python-pyvista") + (version "0.34.0") + (source + ;; The PyPI tarball does not contain the tests. + ;; (However, we don't yet actually run the tests.) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pyvista/pyvista") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0f2x2wvi5pkpv5h3jrnx8zxnaj51navfqp2fdna1l9rpjgjjf94g")))) + (build-system python-build-system) + (propagated-inputs + (list python-appdirs + python-imageio + python-matplotlib + python-meshio + python-numpy + python-pillow + python-scooby + vtk)) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Disable tests for now because they require several modules + ;; currently unpackaged in Guix. + (delete 'check) + ;; Disable the sanity check, which fails with the following error: + ;; + ;; ...checking requirements: ERROR: pyvista==0.34.0 DistributionNotFound(Requirement.parse('vtk'), {'pyvista'}) + ;; + ;; Probably it cannot find VTK because it isn't a Python library. + (delete 'sanity-check)))) + (home-page "https://docs.pyvista.org/") + (synopsis "3D plotting and mesh analysis through VTK") + (description + "PyVista is... + +@itemize +@item @emph{Pythonic VTK}: a high-level API to the Visualization Toolkit (VTK) +@item mesh data structures and filtering methods for spatial datasets +@item 3D plotting made simple and built for large/complex data geometries +@end itemize + +PyVista is a helper module for the Visualization Toolkit (VTK) that wraps the +VTK library through NumPy and direct array access through a variety of methods +and classes. This package provides a Pythonic, well-documented interface +exposing VTK's powerful visualization backend to facilitate rapid prototyping, +analysis, and visual integration of spatially referenced datasets.") + (license license:expat)))