From patchwork Fri Apr 22 01:02: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: 1799 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 994D427BBEA; Fri, 22 Apr 2022 02:17:24 +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 6C81A27BBE9 for ; Fri, 22 Apr 2022 02:17:24 +0100 (BST) Received: from localhost ([::1]:44084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhhvH-0006IG-FZ for patchwork@mira.cbaines.net; Thu, 21 Apr 2022 21:17:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhhiM-0006nQ-S0 for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57227) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhhiM-0000Hr-JM for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhhiM-00040V-Fb for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH 1/6] gnu: python-meshio: Remove input labels. References: <20220422010015.23020-1-paul@apatience.com> In-Reply-To: <20220422010015.23020-1-paul@apatience.com> Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 01:04: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.165058938615259 (code B ref 55060); Fri, 22 Apr 2022 01:04:02 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 01:03:06 +0000 Received: from localhost ([127.0.0.1]:51104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhS-0003y3-7E for submit@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:06 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:61166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhQ-0003xQ-LW for 55060@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:05 -0400 Date: Fri, 22 Apr 2022 01:02:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650589378; bh=OUneS62/ePuR4yliYOSZfZ/nlMzG3hbMDz8q5hiZN8k=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=mZ18bZrG8cBeiMdmrrmfpyyhd3lXdpzMjNq62Jf+nj3pljpQpyoBmYC/GqYhFkrIx T2zIXUpHXa7andRdzHn4M/2mEzJjkYWD1OgEfefOsKiJSG4frR0fPaYZ9eCQQwwVjg gsQKmjLAMwdGEvrZ07Dt/uPVe8u9EHSa71KHVc0fAbCT8Wcsc8WL4g8ZQprCCvPf8T 872nXmdhd1ayczNQOb7elOh7CTaK2he5jNspfb9ERGMLxDakUDC0jG0rZIMv6uG8Eb VaS7NaIY7vZ1R8/7FuhA2anZFpmrlwfDESqCeYjoox90tlrh6+B1Bdh/nHXX3pYABW xCvWXntR0WtIQ== From: "Paul A. Patience" Message-ID: <20220422010244.23280-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 01:02:52 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: 1796 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 C94FB27BBEA; Fri, 22 Apr 2022 02:05:37 +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 3580727BBE9 for ; Fri, 22 Apr 2022 02:05:36 +0100 (BST) Received: from localhost ([::1]:54938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhhjr-0000wF-8z for patchwork@mira.cbaines.net; Thu, 21 Apr 2022 21:05:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhhiN-0006nY-Av for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhhiN-0000Hw-1s 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 1nhhiM-00040c-Rt for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH 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 01:04: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.165058938915280 (code B ref 55060); Fri, 22 Apr 2022 01:04:02 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 01:03:09 +0000 Received: from localhost ([127.0.0.1]:51110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhV-0003yN-DS for submit@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:09 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:42330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhS-0003xV-4V for 55060@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:06 -0400 Date: Fri, 22 Apr 2022 01:02:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650589379; 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=TTBt6ovVRmMS+lbFJCUVNKdjgmNAa+hEWCMlLpp47vJ7jaWtiXH5mF52/Pf5x0SsF TW4yz08sZYltEKH2uYGhuPt//B7Pc39HvN2cHDufiX0FWfsYmMyuRfe19/s5HaJvW2 8gY+oQpPAbjxowUD81R9hXFoSsdlh1sif0iZZ0fDu87pbkAeyaW7MvW+NKwvvq4VOB Tb5r3sextgQlVeJ+jcyzwwQiGdT8cXn+JQ+qw4vrVfaOtligZOheupiLrkr71p3e+b tx20pwHBECT6RlAMtcz2NAlRhXLLZzx0szkmsWPlLjbfB51CM98LmGfTM91HEIWmsZ Q85LHhteK2x9g== From: "Paul A. Patience" Message-ID: <20220422010244.23280-2-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 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 01:02:57 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: 1798 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 16E9B27BBEA; Fri, 22 Apr 2022 02:17:16 +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 DBE0027BBE9 for ; Fri, 22 Apr 2022 02:17:15 +0100 (BST) Received: from localhost ([::1]:43802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhhv9-00066V-25 for patchwork@mira.cbaines.net; Thu, 21 Apr 2022 21:17:15 -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 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 01:03:03 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: 1797 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 3E05327BBEA; Fri, 22 Apr 2022 02:05:45 +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 0910B27BBE9 for ; Fri, 22 Apr 2022 02:05:45 +0100 (BST) Received: from localhost ([::1]:55394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhhk0-0001NX-5c for patchwork@mira.cbaines.net; Thu, 21 Apr 2022 21:05:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhhiO-0006na-0S for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhhiN-0000I8-OZ 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-00040r-L6 for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH 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 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.165058939915312 (code B ref 55060); Fri, 22 Apr 2022 01:04:03 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 01:03:19 +0000 Received: from localhost ([127.0.0.1]:51116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhe-0003yu-TF for submit@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:19 -0400 Received: from mail-4018.proton.ch ([185.70.40.18]:16412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhd-0003yf-CU for 55060@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:17 -0400 Date: Fri, 22 Apr 2022 01:03:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650589391; 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=dVsrUT6PFNld3VBcSH6ip4PsvzCNYlm8M5521Lq5YLcrV3KzdxGOFpOezeJyRbWey /ZwuoV657yXZ51UEdkRnV2OfC43BcEJKAc8DdIwVNFj39513lW1TgOu+0Y1aBOEqek 1ETxbZk9CkRBskQ5r7/5g3FIyZp7sTPnQHm6esOpsa6iorwVnO2lexrsbshUms3yzN E/Hp+3CN859VhiTkwqC2oOc+T7ng6r2BWfr3IGpHN0ds65uGmdAXAHiDH+/XLFC0uT Wx85dEVfkwlc0Bkxtr9/DoRLld5VYsqqVA6knpu4ziUGx2RWMJsJlc0cqZrFzfVmkt 1Fr1W1/FX+Caw== From: "Paul A. Patience" Message-ID: <20220422010244.23280-4-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 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 01:03:08 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: 1795 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 6F99827BBEA; Fri, 22 Apr 2022 02:04: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 3492127BBE9 for ; Fri, 22 Apr 2022 02:04:23 +0100 (BST) Received: from localhost ([::1]:51550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhhig-0006un-AG for patchwork@mira.cbaines.net; Thu, 21 Apr 2022 21:04:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhhiO-0006no-CI for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhhiO-0000IF-3z for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhhiO-00040y-0g for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH 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 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.165058940515333 (code B ref 55060); Fri, 22 Apr 2022 01:04:03 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 01:03:25 +0000 Received: from localhost ([127.0.0.1]:51120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhl-0003zF-4B for submit@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:25 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:56558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhj-0003ym-4J for 55060@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:23 -0400 Date: Fri, 22 Apr 2022 01:03:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650589397; bh=MVSBUUZlDNbUJEEiM0S0O4Xrc9xlEzsa1htr6qP5bsI=; 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=ZesG9RIOOmzhT6JNCM4TBJ3+TEnxpiPknVltkScLH01/Ubq8ZG2yXy7Yys++Tv83z w8dj+KroA8f8qE6bKcOHwiMUzyMorYFFbnGd34qcEX3lxpOW7ivtSS88gqMUkLM4Nf BPqrm2ImmADqWc9VIgz/7As55Uy4CBC0A55nPoCJ9magH2hbo24cf0hyt6G9nte3Nt YB12Us5Fue0FYu8oD0WxPLkuahaUyLd+f1n8vYVtttHFhkwLfaGIaykQrFatkTHBWj 0S1vv6HArsfGTMkfEbcyLzFECYFIec9fe2uyqPnyMLOeKdz7f948tJ7m71jYGuP/R2 hnFvOVod9dCqw== From: "Paul A. Patience" Message-ID: <20220422010244.23280-5-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 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 | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) -- 2.35.1 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9a5d311680..799a6441ea 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29534,3 +29534,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 01:03:16 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: 1800 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 12DCA27BBEA; Fri, 22 Apr 2022 02:17:34 +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 C3E6027BBE9 for ; Fri, 22 Apr 2022 02:17:33 +0100 (BST) Received: from localhost ([::1]:44538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhhvR-0006aF-03 for patchwork@mira.cbaines.net; Thu, 21 Apr 2022 21:17:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhhiO-0006nr-OZ for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhhiO-0000IK-GV for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhhiO-000415-D5 for guix-patches@gnu.org; Thu, 21 Apr 2022 21:04:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55060] [PATCH 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 01:04: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.165058940715348 (code B ref 55060); Fri, 22 Apr 2022 01:04:04 +0000 Received: (at 55060) by debbugs.gnu.org; 22 Apr 2022 01:03:27 +0000 Received: from localhost ([127.0.0.1]:51124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhn-0003zT-Dk for submit@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:27 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:43387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhhhm-0003z3-Ay for 55060@debbugs.gnu.org; Thu, 21 Apr 2022 21:03:26 -0400 Date: Fri, 22 Apr 2022 01:03:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650589400; bh=LrgYRW3eTRRG0lHVDtM62cRgDxftIjkxhLVNLCKxq10=; 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=iffOT3Rt7NdrlCckia89wNcqis/Y/BKaJsa6qv5HGtQ3Tg2pnhcR95G4AFP2WQ/dy FXdNnQpL+MvkYaUrMSfIABQEmu3EJipEbdN4rffw3EOuVb8k9mrv4orglucx/+6RAr MabZaJr8LfnsZBP1syexDUBR2zjOzpNJF7ZLCuRc859bKFVR5DMJsF8VdHWBkOd5q1 BdU8hMsT79sVyDTrbFdU6DVQH8RWXCFWAG/4wiNpxAGhpjbmsSJaT6g+8kr3TjNB/H 3SgplueUUD8xOmDzvavOyUkNFJ0lfPckivwtPDIBnXIRZ6Ivaag6gMH7tP9Ua+iP1d WXIm0yN+nvwfA== From: "Paul A. Patience" Message-ID: <20220422010244.23280-6-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 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..d114a1c12f 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1183,3 +1183,59 @@ (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) + (inputs + (list vtk)) + (propagated-inputs + (list python-appdirs + python-imageio + python-matplotlib + python-meshio + python-numpy + python-pillow + python-scooby)) + (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 (list license:expat))))