[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55060] [PATCH v4 8/8] gnu: Add python-pyvista.
From: |
Paul A. Patience |
Subject: |
[bug#55060] [PATCH v4 8/8] gnu: Add python-pyvista. |
Date: |
Mon, 02 May 2022 21:17:40 +0000 |
* gnu/packages/python-science.scm (python-pyvista): New variable.
---
gnu/packages/python-science.scm | 53 +++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 07d713e013..a62de1e5a0 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -17,6 +17,7 @@
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
;;;
;;; 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)))
--
2.36.0
- [bug#55060] [PATCH v4 0/8] gnu: Add python-pyvista., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 1/8] gnu: python-meshio: Remove input labels., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 2/8] gnu: python-meshio: Remove trailing booleans., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 3/8] gnu: python-meshio: Honor #:tests? flag., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 4/8] gnu: python-meshio: Update to 5.3.4., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 5/8] gnu: Add python-pyperf., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 6/8] gnu: Add python-pyvips., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 7/8] gnu: Add python-scooby., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 8/8] gnu: Add python-pyvista.,
Paul A. Patience <=
- bug#55060: [PATCH 0/6] gnu: Add python-pyvista., Ludovic Courtès, 2022/05/23