summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRyan Marcellino <67644978+myan-rarcellino-nnl@users.noreply.github.com>2022-05-17 21:47:17 -0400
committerGitHub <noreply@github.com>2022-05-18 01:47:17 +0000
commit51fa8e7b5e4f049f3e2474a0b4b62f48b6d959f6 (patch)
treea08872b9dc5b47849257ab177aeeb051c3ae0b41 /var
parentf505c50770abdb2527a1696ec01cd3e0ddc86e2d (diff)
downloadspack-51fa8e7b5e4f049f3e2474a0b4b62f48b6d959f6.tar.gz
spack-51fa8e7b5e4f049f3e2474a0b4b62f48b6d959f6.tar.bz2
spack-51fa8e7b5e4f049f3e2474a0b4b62f48b6d959f6.tar.xz
spack-51fa8e7b5e4f049f3e2474a0b4b62f48b6d959f6.zip
py-pytecplot: new package (#30708)
* py-pytecplot: new package * fix copyright year Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> * use one variant for all extras Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pytecplot/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytecplot/package.py b/var/spack/repos/builtin/packages/py-pytecplot/package.py
new file mode 100644
index 0000000000..fc4b78e2e7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytecplot/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2022 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 PyPytecplot(PythonPackage):
+ """The pytecplot library is a high level API that connects your
+ Python script to the power of the Tecplot 360 visualization engine.
+ It offers line plotting, 2D and 3D surface plots in a variety of formats,
+ and 3D volumetric visualization. Familiarity with Tecplot 360 and the
+ Tecplot 360 macro language is helpful, but not required."""
+
+ homepage = "https://www.tecplot.com/docs/pytecplot/"
+ pypi = "pytecplot/pytecplot-1.4.2.zip"
+
+ version("1.4.2", sha256="586a2ee947314ddd2f28be5523911dd298465b8f6a9145ba351866d5d695ef0d")
+
+ variant("extras", default=False, description="Enable extra functionality.")
+
+ depends_on("python@3.7:", type=("build", "run"))
+ depends_on("py-setuptools", type="build")
+ depends_on("py-flatbuffers", type=("build", "run"))
+ depends_on("py-protobuf", type=("build", "run"))
+ depends_on("py-pyzmq", type=("build", "run"))
+ depends_on("py-six", type=("build", "run"))
+ depends_on("py-numpy", type=("build", "run"), when="+extras")
+ depends_on("py-ipython", type=("build", "run"), when="+extras")
+ depends_on("py-pillow", type=("build", "run"), when="+extras")
+ depends_on("tecplot@2017r1:", type=("build", "run"))