summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-10-01 16:00:30 +0200
committerGitHub <noreply@github.com>2021-10-01 16:00:30 +0200
commit627c7007ef937d7648e891ee937dd8205c874fb8 (patch)
tree44fec8583381d013470ffed85ff0675ac6634244 /var
parent8fc770608de4892d951ad1c5846d6e380f09e4d2 (diff)
downloadspack-627c7007ef937d7648e891ee937dd8205c874fb8.tar.gz
spack-627c7007ef937d7648e891ee937dd8205c874fb8.tar.bz2
spack-627c7007ef937d7648e891ee937dd8205c874fb8.tar.xz
spack-627c7007ef937d7648e891ee937dd8205c874fb8.zip
py-pyvista: add new package (#26398)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pyvista/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyvista/package.py b/var/spack/repos/builtin/packages/py-pyvista/package.py
new file mode 100644
index 0000000000..2b056e9868
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyvista/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPyvista(PythonPackage):
+ """Easier Pythonic interface to VTK."""
+
+ homepage = "https://github.com/pyvista/pyvista"
+ pypi = "pyvista/pyvista-0.32.1.tar.gz"
+
+ version('0.32.1', sha256='585ac79524e351924730aff9b7207d6c5ac4175dbb5d33f7a9a2de22ae53dbf9')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-imageio', type=('build', 'run'))
+ depends_on('pil', type=('build', 'run'))
+ depends_on('py-appdirs', type=('build', 'run'))
+ depends_on('py-scooby@0.5.1:', type=('build', 'run'))
+ depends_on('py-meshio@4.0.3:4.99', type=('build', 'run'))
+ depends_on('vtk+python', type=('build', 'run'))
+ depends_on('py-dataclasses', when='^python@3.6', type=('build', 'run'))
+ depends_on('py-typing-extensions', type=('build', 'run'))