summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-21 14:59:41 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-21 14:59:41 -0700
commit624e56db6a988361b568ba20e91c8e8dd7e58e75 (patch)
tree6a9c283acd3ed1e5b792f3b4fe9ca02407e0205d /var
parent77b94f6030032f31c469184197ba7546843fba1d (diff)
parent553fff270a13d40fb9a41569bebf5075a740d8ac (diff)
downloadspack-624e56db6a988361b568ba20e91c8e8dd7e58e75.tar.gz
spack-624e56db6a988361b568ba20e91c8e8dd7e58e75.tar.bz2
spack-624e56db6a988361b568ba20e91c8e8dd7e58e75.tar.xz
spack-624e56db6a988361b568ba20e91c8e8dd7e58e75.zip
Merge pull request #592 from mathstuf/paraview-python
Paraview python
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/paraview/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py
index ccf2d14c06..c16054816c 100644
--- a/var/spack/repos/builtin/packages/paraview/package.py
+++ b/var/spack/repos/builtin/packages/paraview/package.py
@@ -16,9 +16,9 @@ class Paraview(Package):
variant('osmesa', default=False, description='Enable OSMesa support')
variant('qt', default=False, description='Enable Qt support')
- variant('opengl2', default=False, description='Enable OPengl2 backend')
+ variant('opengl2', default=False, description='Enable OpenGL2 backend')
- depends_on('python', when='+python')
+ depends_on('python@2:2.7', when='+python')
depends_on('py-numpy', when='+python')
depends_on('py-matplotlib', when='+python')
depends_on('tcl', when='+tcl')
@@ -37,11 +37,11 @@ class Paraview(Package):
#depends_on('protobuf') # version mismatches?
#depends_on('sqlite') # external version not supported
depends_on('zlib')
-
+
def url_for_version(self, version):
"""Handle ParaView version-based custom URLs."""
return self._url_str % (version.up_to(2), version)
-
+
def install(self, spec, prefix):
with working_dir('spack-build', create=True):