From 757d768a07ce5829cd63dd3c3c9313503f0b5d00 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 29 Mar 2020 21:11:13 -0500 Subject: [PATCH] py-mayavi: add new package (#15751) --- .../builtin/packages/py-mayavi/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-mayavi/package.py diff --git a/var/spack/repos/builtin/packages/py-mayavi/package.py b/var/spack/repos/builtin/packages/py-mayavi/package.py new file mode 100644 index 0000000000..1fe477bbc7 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-mayavi/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2020 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) + + +class PyMayavi(PythonPackage): + """Mayavi: 3D visualization of scientific data in Python.""" + + homepage = "https://docs.enthought.com/mayavi/mayavi/index.html" + url = "https://pypi.io/packages/source/m/mayavi/mayavi-4.7.1.tar.bz2" + + version('4.7.1', sha256='be51fb6f886f304f7c593c907e6a2e88d7919f8f446cdccfcd184fa35b3db724') + + depends_on('py-setuptools', type='build') + depends_on('py-apptools', type=('build', 'run')) + depends_on('py-envisage', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-pyface@6.1.1:', type=('build', 'run')) + depends_on('py-pygments', type=('build', 'run')) + depends_on('py-traits@4.6.0:', type=('build', 'run')) + depends_on('py-traitsui@6.0.0:', type=('build', 'run')) + depends_on('vtk+python', type=('build', 'run'))