From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2FOmI6mnYmKb8gAAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 15:03:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UEalI6mnYmKUJAEA9RJhRA (envelope-from ) for ; Fri, 22 Apr 2022 15:03:37 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1E73E121A2 for ; Fri, 22 Apr 2022 15:03:37 +0200 (CEST) Received: from localhost ([::1]:43824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhswi-00063v-33 for larch@yhetil.org; Fri, 22 Apr 2022 09:03:36 -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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650632617; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1c75R4HPlM9pivWD5EnG2A3vqV4dX9PeU9VAUj16CUE=; b=ggqc8UUjrVokr0DqEOQHgtFcUA0W4sE0JfqMvr6I838mJ6QVmS9tzYS42XV370HwMRcpDQ 2FcezTGZZVxa6AGbas+W1ZlJOqwGvwPbaYC9i4Qy4dL6NtqypflvfgVIjlxQwUi3vPCcjF UtyCDOldIUO/vYBmKeoHzaDfzwich3CoP9MWuEC5qUBB4YBso3cW4Luwnp0oudrBuEdyyD ymYq1zbluhf/eZn16HnaSzKKyINSEZFMHqiQRHwVVLCP1BrRs2cPCA5MjxlR/iqqnIhhGh yZ7t/k86g+ob3tnWPwY/WAXFQo/gkLVQ6y2WbJjNvU/AIepFRvQ46RQurvvUuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650632617; a=rsa-sha256; cv=none; b=MbKYlwHAjfL3vxUEBtYpK53H5Stnm5qYoepwves1dmSwZTLA/Cc9snmDbNhtwae+istbag 2sQsDL796YgcQGEcPD+Acg3DiIeT5cHQuL9qA+E454gE/d3ZR4oi6mvOkHtOvcML7aORMU FzoQGBkEu6AbEcGm9ae6pnvo2d1X8OU0tAGXHLaEymVbRRqKDNuCKc+PPJypMVodV9B8v9 suAC5eiSQL5JzJozMmr0wuGXrwTqGRwSjapEsZpcyQIj1SigoeEaIPAfYaThpXURdlHFMq PLWZP8DfuVuru5f6MijmZdiowi8KcerVOM9tO5nBhzdTC3NRQq5CZrgQJMUAdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=JNmvMw4G; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=JNmvMw4G; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1E73E121A2 X-Spam-Score: 3.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: 55HbL+rAA4+2 * gnu/packages/python-science.scm (python-pyvista): New variable. --- gnu/packages/python-science.scm | 56 +++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) 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 =C2=A9 2021 Felix Gruber ;;; Copyright =C2=A9 2022 Malte Frank Gerdes ;;; Copyright =C2=A9 2022 Guillaume Le Vaillant +;;; Copyright =C2=A9 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=3D=3D0.34.0 Distrib= utionNotFound(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 met= hods +and classes. This package provides a Pythonic, well-documented interface +exposing VTK's powerful visualization backend to facilitate rapid prototyp= ing, +analysis, and visual integration of spatially referenced datasets.") + (license license:expat))) -- 2.35.1