summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-mayavi/package.py
blob: da4fe89e761210e0c01ea2f5c7136ae26e6b6835 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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)


class PyMayavi(PythonPackage):
    """Mayavi: 3D visualization of scientific data in Python."""

    homepage = "https://github.com/enthought/mayavi"
    pypi = "mayavi/mayavi-4.7.3.tar.gz"

    version('4.7.3', sha256='670d0023b9cd2d2346c451db9ba2f61da23a5df5033b25aea89cb6d81b9464f0')
    version('4.7.1', sha256='be51fb6f886f304f7c593c907e6a2e88d7919f8f446cdccfcd184fa35b3db724',
            url='https://files.pythonhosted.org/packages/source/m/mayavi/mayavi-4.7.1.tar.bz2')

    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@6:', when='@4.7.2:', type=('build', 'run'))
    depends_on('py-traits@4.6:', type=('build', 'run'))
    depends_on('py-traitsui@7:', when='@4.7.2:', type=('build', 'run'))
    depends_on('py-traitsui@6:', type=('build', 'run'))
    depends_on('vtk+python', type=('build', 'run'))
    depends_on('py-pyqt5', type=('build', 'run'))