all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Paul A. Patience" <paul@apatience.com>
To: 55060@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#55060] [PATCH 6/6] gnu: Add python-pyvista.
Date: Fri, 22 Apr 2022 01:03:16 +0000	[thread overview]
Message-ID: <20220422010244.23280-6-paul@apatience.com> (raw)
In-Reply-To: <20220422010244.23280-1-paul@apatience.com>

* 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..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))))
--
2.35.1






  parent reply	other threads:[~2022-04-22  1:17 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-22  1:00 [bug#55060] [PATCH 0/6] gnu: Add python-pyvista Paul A. Patience
2022-04-22  1:02 ` [bug#55060] [PATCH 1/6] gnu: python-meshio: Remove input labels Paul A. Patience
2022-04-22  1:02   ` [bug#55060] [PATCH 2/6] gnu: python-meshio: Remove trailing booleans Paul A. Patience
2022-04-22  1:02   ` [bug#55060] [PATCH 3/6] gnu: python-meshio: Honor #:tests? flag Paul A. Patience
2022-04-22  1:03   ` [bug#55060] [PATCH 4/6] gnu: python-meshio: Update to 5.3.4 Paul A. Patience
2022-04-22  1:03   ` [bug#55060] [PATCH 5/6] gnu: Add python-scooby Paul A. Patience
2022-04-22 17:53     ` Maxime Devos
2022-04-22 17:55     ` Maxime Devos
2022-04-22 18:07     ` Maxime Devos
2022-04-22 19:26       ` Paul A. Patience
2022-04-22 21:43         ` Maxime Devos
2022-04-22 21:46         ` Maxime Devos
2022-04-29 20:52         ` Maxime Devos
2022-05-02 15:00           ` Paul A. Patience
2022-05-02 15:06             ` Maxime Devos
2022-05-02 15:33               ` Paul A. Patience
2022-05-02 16:18                 ` Maxime Devos
2022-04-22  1:03   ` Paul A. Patience [this message]
2022-04-22 18:04     ` [bug#55060] [PATCH 6/6] gnu: Add python-pyvista Maxime Devos
2022-04-22 19:36       ` Paul A. Patience
2022-04-22 21:49         ` Maxime Devos
2022-04-22 12:41 ` [bug#55060] [PATCH v2 0/6] " Paul A. Patience
2022-04-22 12:41   ` [bug#55060] [PATCH v2 1/6] gnu: python-meshio: Remove input labels Paul A. Patience
2022-04-22 12:41   ` [bug#55060] [PATCH v2 2/6] gnu: python-meshio: Remove trailing booleans Paul A. Patience
2022-04-22 12:41   ` [bug#55060] [PATCH v2 3/6] gnu: python-meshio: Honor #:tests? flag Paul A. Patience
2022-04-22 12:41   ` [bug#55060] [PATCH v2 4/6] gnu: python-meshio: Update to 5.3.4 Paul A. Patience
2022-04-22 17:36     ` Maxime Devos
2022-04-22 12:41   ` [bug#55060] [PATCH v2 5/6] gnu: Add python-scooby Paul A. Patience
2022-04-22 17:51     ` Maxime Devos
2022-04-22 12:41   ` [bug#55060] [PATCH v2 6/6] gnu: Add python-pyvista Paul A. Patience
2022-04-25 17:55 ` [bug#55060] [PATCH v3 0/6] " Paul A. Patience
2022-04-25 17:55   ` [bug#55060] [PATCH v3 1/6] gnu: python-meshio: Remove input labels Paul A. Patience
2022-04-25 17:55   ` [bug#55060] [PATCH v3 2/6] gnu: python-meshio: Remove trailing booleans Paul A. Patience
2022-04-25 17:55   ` [bug#55060] [PATCH v3 3/6] gnu: python-meshio: Honor #:tests? flag Paul A. Patience
2022-04-25 17:55   ` [bug#55060] [PATCH v3 4/6] gnu: python-meshio: Update to 5.3.4 Paul A. Patience
2022-04-25 17:55   ` [bug#55060] [PATCH v3 5/6] gnu: Add python-scooby Paul A. Patience
2022-04-25 17:55   ` [bug#55060] [PATCH v3 6/6] gnu: Add python-pyvista Paul A. Patience
2022-05-02 21:16 ` [bug#55060] [PATCH v4 0/8] " Paul A. Patience
2022-05-02 21:16   ` [bug#55060] [PATCH v4 1/8] gnu: python-meshio: Remove input labels Paul A. Patience
2022-05-02 21:16   ` [bug#55060] [PATCH v4 2/8] gnu: python-meshio: Remove trailing booleans Paul A. Patience
2022-05-02 21:16   ` [bug#55060] [PATCH v4 3/8] gnu: python-meshio: Honor #:tests? flag Paul A. Patience
2022-05-02 21:17   ` [bug#55060] [PATCH v4 4/8] gnu: python-meshio: Update to 5.3.4 Paul A. Patience
2022-05-02 21:17   ` [bug#55060] [PATCH v4 5/8] gnu: Add python-pyperf Paul A. Patience
2022-05-02 21:17   ` [bug#55060] [PATCH v4 6/8] gnu: Add python-pyvips Paul A. Patience
2022-05-02 21:17   ` [bug#55060] [PATCH v4 7/8] gnu: Add python-scooby Paul A. Patience
2022-05-02 21:17   ` [bug#55060] [PATCH v4 8/8] gnu: Add python-pyvista Paul A. Patience
2022-05-23 13:56   ` bug#55060: [PATCH 0/6] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220422010244.23280-6-paul@apatience.com \
    --to=paul@apatience.com \
    --cc=55060@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.