From patchwork Mon Apr 25 17:55:34 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: 1954 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 A156927BBEA; Mon, 25 Apr 2022 18:56:29 +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 6B3D827BBE9 for ; Mon, 25 Apr 2022 18:56:29 +0100 (BST) Received: from localhost ([::1]:45590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj2wl-000583-TF for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 13:56:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj2wN-00057b-6F for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42109) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nj2wM-0005N2-T2 for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nj2wM-0001jj-Rg for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v3 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: Mon, 25 Apr 2022 17:56: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.16509093486601 (code B ref 55060); Mon, 25 Apr 2022 17:56:02 +0000 Received: (at 55060) by debbugs.gnu.org; 25 Apr 2022 17:55:48 +0000 Received: from localhost ([127.0.0.1]:35991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2w7-0001iP-VB for submit@debbugs.gnu.org; Mon, 25 Apr 2022 13:55:48 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:30810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2w6-0001i5-Hq for 55060@debbugs.gnu.org; Mon, 25 Apr 2022 13:55:46 -0400 Date: Mon, 25 Apr 2022 17:55:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650909340; 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=E8PEAZgpoGrRJf3cx756xgfoFDwi1xME7v7gO/pyQ4vuxsNL6u9Mwok6+aSVz5ZJ7 o/uOOHrCxIKtKZTJC75vzQzZBIy8io1PJZC9sxBxa+J2ICVI4efhAAa0N0TNG+TncI 0u4sEdeR+pQpCKdPR8Aih3gkyhNUqf0DADb4GCGFuWe0Tc5GIMZNeEAPHCjysOgnNK SRUiWU9H+9Ob44QLwTMMuu3WH9FIBFBCoegQE6GLovxL1jf1xmti2ixKlGTeGv7m0h 7PpGc3EEo1hI0TVG6UInT7FndSZqAzkZvWMmU7D0fvrqIYQkKkdCFa4wG+neAaLH5g e+w+kkSquwjmw== From: "Paul A. Patience" Message-ID: <20220425175515.54516-2-paul@apatience.com> In-Reply-To: <20220425175515.54516-1-paul@apatience.com> References: <20220425175515.54516-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 Mon Apr 25 17:55:38 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: 1955 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 1DE7627BBEA; Mon, 25 Apr 2022 18:56:31 +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 E205127BBE9 for ; Mon, 25 Apr 2022 18:56:30 +0100 (BST) Received: from localhost ([::1]:45600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj2wn-000595-SL for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 13:56:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj2wN-00057r-R7 for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nj2wN-0005N8-BL for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nj2wN-0001jq-96 for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v3 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: Mon, 25 Apr 2022 17:56: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.16509093516617 (code B ref 55060); Mon, 25 Apr 2022 17:56:03 +0000 Received: (at 55060) by debbugs.gnu.org; 25 Apr 2022 17:55:51 +0000 Received: from localhost ([127.0.0.1]:35995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wB-0001ie-85 for submit@debbugs.gnu.org; Mon, 25 Apr 2022 13:55:51 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:54083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2w7-0001iD-U5 for 55060@debbugs.gnu.org; Mon, 25 Apr 2022 13:55:48 -0400 Date: Mon, 25 Apr 2022 17:55:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650909341; bh=7Hcurfq3t/Fob0szPjWqOQVp8abk950p5MSLsFKkylA=; 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=LwSfRIX3P5jDm4N+m9mgQac0go4YPV9LxM/91ODzHST3dYbalpuJGblhSvuyaPL/5 a9TohRN1Gh6762AaUYVcJxDSJMSANiLHwnVikro2H/R+DDzQfRDcx0Hfrcg5BxHYID 7TediUHq2ncp16WfK00mjeUV1YugD65rmgxGz2CsFFX4neCZj/PbFZlVWnFH05AQUe qEJbqjx0NiXlIggDoPFL/2M80PgXAF4qfCifqnN3Et53ZiSlcxpc0djbwozpyubITL lJZ5zAxjde8heptVg09xDtvTMfHxA/nvpZeVCepDsB70Jcir0h7O0/L8FD4D1HDBzw Ve0f0B3PWLepg== From: "Paul A. Patience" Message-ID: <20220425175515.54516-3-paul@apatience.com> In-Reply-To: <20220425175515.54516-1-paul@apatience.com> References: <20220425175515.54516-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 (and therefore the 'begin'). [arguments]: Remove trailing boolean. --- gnu/packages/simulation.scm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) -- 2.35.1 diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index c8309761d2..42383bf486 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -782,11 +782,9 @@ (define-public python-meshio (base32 "0kv832s2vyff30zz8yqypw5jifwdanvh5x56d2bzkvy94h4jlddy")) (snippet - '(begin - (let ((file (open-file "setup.py" "a"))) - (display "from setuptools import setup\nsetup()" file) - (close-port file)) - #t)))) + '(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 @@ -802,8 +800,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 Mon Apr 25 17:55: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: 1956 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 645DB27BBEA; Mon, 25 Apr 2022 18:56: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 3568127BBE9 for ; Mon, 25 Apr 2022 18:56:39 +0100 (BST) Received: from localhost ([::1]:46240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj2ww-0005aD-DQ for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 13:56:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj2wO-000580-5i for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42111) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nj2wN-0005ND-Nx for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nj2wN-0001jy-N6 for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v3 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: Mon, 25 Apr 2022 17:56: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.16509093556634 (code B ref 55060); Mon, 25 Apr 2022 17:56:03 +0000 Received: (at 55060) by debbugs.gnu.org; 25 Apr 2022 17:55:55 +0000 Received: from localhost ([127.0.0.1]:35999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wF-0001iw-HS for submit@debbugs.gnu.org; Mon, 25 Apr 2022 13:55:55 -0400 Received: from mail-4018.proton.ch ([185.70.40.18]:22064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wE-0001iZ-5V for 55060@debbugs.gnu.org; Mon, 25 Apr 2022 13:55:54 -0400 Date: Mon, 25 Apr 2022 17:55:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650909348; bh=hxRS8LlF5LmPUKcKE1b+5xqKSnelyjfQmLrvL0p2Irk=; 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=m76ZVePKgUdD4iiX9vFye6SgbHY7NKzwGMAR35nzqysmlNYiuRPSGel9WyJQyeygl BATQ7OyclpcaMu01h55hQOyble38kVW6bh98etTLPoMA2DKE5EHp6UXrbL1geNRf3p 53dQOY4hZhY1X/lIKI3m/e1EmArgFj/ie995jOeYrAT14EVPwUHdAPKnenMiYEjxws DGjcmTj1vQnczUfV768DBLJ3ILrGYATraaZtuKCkjqoJXV5goVoloXfmjALRL4eMQ9 R1UjmbUItXvj4BXGbfTF/B+MctVmybmKR12T/k5x9Dw6gcSY5OT2pRcid8K91gBRMs on/cPH+/bcXRQ== From: "Paul A. Patience" Message-ID: <20220425175515.54516-4-paul@apatience.com> In-Reply-To: <20220425175515.54516-1-paul@apatience.com> References: <20220425175515.54516-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 42383bf486..1b4016e316 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -798,9 +798,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 Mon Apr 25 17:55:46 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: 1957 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 4D0CF27BBEA; Mon, 25 Apr 2022 18:56:46 +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 1AA6227BBE9 for ; Mon, 25 Apr 2022 18:56:46 +0100 (BST) Received: from localhost ([::1]:46490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj2x3-0005lk-9C for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 13:56:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj2wO-000589-QO for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nj2wO-0005NJ-4a for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nj2wO-0001k5-3b for guix-patches@gnu.org; Mon, 25 Apr 2022 13:56:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v3 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: Mon, 25 Apr 2022 17:56: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.16509093616654 (code B ref 55060); Mon, 25 Apr 2022 17:56:04 +0000 Received: (at 55060) by debbugs.gnu.org; 25 Apr 2022 17:56:01 +0000 Received: from localhost ([127.0.0.1]:36003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wK-0001jG-OT for submit@debbugs.gnu.org; Mon, 25 Apr 2022 13:56:01 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:22208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wJ-0001ip-Br for 55060@debbugs.gnu.org; Mon, 25 Apr 2022 13:55:59 -0400 Date: Mon, 25 Apr 2022 17:55:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650909353; bh=2+FhpxIWCjAoLL7pNI+nwn7ppvKfAs8ZGzT0s9DkeO4=; 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=Ny+BeYI2Ar6mkfu9y5lKUCT4cDaduUqsEN2u35GGwkPlCppCvWkWqh59obYonkNpY ngtoe2U8ySDw/3esdGfmK8zJzcwqE5qPjvJBBqwk/Wn5c+zzH4bcg95KBiUVUOpcDy QqCi+8Tr/aBVYQ7/j3QgqszfnzM95hY+oLeiZbU+l4rXvAB3exwSkd2Z7m2LxY/FZa wyS4gufio01FBbqZ7iUsJaM0JuKh6vgutWeWccDrULaT7vEcShdLr2i61Ibh7UlrQD XpROVHF3/i5/TZ98ly4sYQaQYmzGl9FjMTRBK86Y/GYHLuZp5tvKqCnJEkfOL5TJI1 u51Yc+ZVAFMbg== From: "Paul A. Patience" Message-ID: <20220425175515.54516-5-paul@apatience.com> In-Reply-To: <20220425175515.54516-1-paul@apatience.com> References: <20220425175515.54516-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 | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) -- 2.35.1 diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 1b4016e316..e829f8cd7d 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -773,18 +773,18 @@ (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 - '(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 + '(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 @@ -793,7 +793,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 Mon Apr 25 17:55:49 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: 1958 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 9C77227BBEA; Mon, 25 Apr 2022 18:57:10 +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 5303127BBE9 for ; Mon, 25 Apr 2022 18:57:10 +0100 (BST) Received: from localhost ([::1]:46736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj2xR-0005wq-Hb for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 13:57:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj2xK-0005wT-OF for guix-patches@gnu.org; Mon, 25 Apr 2022 13:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nj2xK-0005a4-FZ for guix-patches@gnu.org; Mon, 25 Apr 2022 13:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nj2xK-0001li-Ee for guix-patches@gnu.org; Mon, 25 Apr 2022 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v3 5/6] gnu: Add python-scooby. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 17:57: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.16509093686728 (code B ref 55060); Mon, 25 Apr 2022 17:57:02 +0000 Received: (at 55060) by debbugs.gnu.org; 25 Apr 2022 17:56:08 +0000 Received: from localhost ([127.0.0.1]:36011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wO-0001k6-2u for submit@debbugs.gnu.org; Mon, 25 Apr 2022 13:56:08 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:37889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wK-0001j3-VG for 55060@debbugs.gnu.org; Mon, 25 Apr 2022 13:56:01 -0400 Date: Mon, 25 Apr 2022 17:55:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650909355; bh=MYId/NFJmlrbGlJvHWFp2IxECn9yCWBFGsp5uN9z14o=; 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=DMHacsWZyuTLAqmLomvg89VC27xmFS610gTpya7bJ0obRQzWwB6Hip8g4WzbWSMRC HjSqo0GjpucpC+NtuxvRVqC3O8EZE+5ROrBomTF3fE49KfKivPdN0vdTEHmcXXGn1d Ehwwwg7/vg1XHz0GCUVja/YgdDcRAuwpINut7Cmdg8NJsX+PswVyl7HnCo7IB6Cdwm nQFh19FCoIB4ew/gk3evibj6KntcBRLhIAlM3Jif4jNgEostWrN3bmSPVCMV3YrYub YG7/yJm22CxcfDuQtd5q1GBLAHmPvfvNYjSOArjkGI6ojCOdIZfrQeLyQg3BWzU83L ghTIWcOmBB4BQ== From: "Paul A. Patience" Message-ID: <20220425175515.54516-6-paul@apatience.com> In-Reply-To: <20220425175515.54516-1-paul@apatience.com> References: <20220425175515.54516-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 | 67 +++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) -- 2.35.1 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9a5d311680..1eeec2564e 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,69 @@ (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)) + (propagated-inputs + (list python-psutil)) + (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.*") "") + ;; The test suite expects an OSError when importing a missing + ;; module. + ;; However, a ModuleNotFoundError is thrown. + (("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 "Report hardware information and Python package versions") + (description + "The Scooby package reports the following information about the currently +running system: + +@itemize +@item operating system name; +@item hardware information including machine type (e.g., @samp{i386}, +@samp{x86_64}, etc.), CPU count and total RAM; +@item Python environment (e.g., Python, IPython, etc.); +@item file system name; +@item Python version; +@item versions of specified Python packages. +@end itemize + +It can generate reports as HTML tables or plain text lists. + +Scooby has no required dependencies, and only few optional dependencies.") + (license license:expat))) From patchwork Mon Apr 25 17:55:58 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: 1959 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 6618127BBEA; Mon, 25 Apr 2022 18:57:11 +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 048CF27BBE9 for ; Mon, 25 Apr 2022 18:57:11 +0100 (BST) Received: from localhost ([::1]:46766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nj2xS-0005y5-6z for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 13:57:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nj2xL-0005wb-7A for guix-patches@gnu.org; Mon, 25 Apr 2022 13:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nj2xK-0005aA-Rh for guix-patches@gnu.org; Mon, 25 Apr 2022 13:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nj2xK-0001lq-Qy for guix-patches@gnu.org; Mon, 25 Apr 2022 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH v3 6/6] gnu: Add python-pyvista. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 17:57: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.16509093796751 (code B ref 55060); Mon, 25 Apr 2022 17:57:02 +0000 Received: (at 55060) by debbugs.gnu.org; 25 Apr 2022 17:56:19 +0000 Received: from localhost ([127.0.0.1]:36016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wd-0001ko-4c for submit@debbugs.gnu.org; Mon, 25 Apr 2022 13:56:19 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:48079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nj2wT-0001kM-PY for 55060@debbugs.gnu.org; Mon, 25 Apr 2022 13:56:18 -0400 Date: Mon, 25 Apr 2022 17:55:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650909363; bh=7TMRc7yqKwv6tm9XfcD7iwIvZf/HB1TmxL22JUraWqc=; 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=T0AmLt9Eod7Sp0iWRt0Qa4VIUqJCphg3EhJpU4HvK4SdjWPMQ0zldzeAEApad7QtI 1VeEHLIyRSr5lWPsqfTYHtMQjsJLxmKbqQKWlIzhOLlQYsmyhvph4J5jbJBGx/yKp3 4vyoj9S2+eCGpumzO6sKoO/VCJdKZxy8oS9Dfv9sfELonvU7QhOZywN/y8PeG/dfZs i4SEHgauokl+UMExEFqfgOz5yx9yDdpJw0V4/r0488A6BpSOteBnYlMCO0XzbWmHNi RHO/4Vq/VB/B5+/+ZSd2G4DqjQeHzPCG6SaRwPW8CwvBddrOWsq281PBbCoQvBN2G5 B0PzFSd+4COiQ== From: "Paul A. Patience" Message-ID: <20220425175515.54516-7-paul@apatience.com> In-Reply-To: <20220425175515.54516-1-paul@apatience.com> References: <20220425175515.54516-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 | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) -- 2.35.1 diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 07d713e013..4205bdc425 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,55 @@ (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'}) + (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 + +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)))