py-mayavi: add new package (#15751)

This commit is contained in:
Adam J. Stewart 2020-03-29 21:11:13 -05:00 committed by GitHub
parent 7bed5e7c1a
commit 757d768a07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))