summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-matplotlib/package.py
diff options
context:
space:
mode:
authorElizabeth Fischer <rpf2116@columbia.edu>2017-01-07 22:59:02 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-07 19:59:02 -0800
commit402dfe30f99f129d310ccde3381ea7ac8c5fca53 (patch)
tree6d82df90f623c68c99abe1a16457793d41cdeb66 /var/spack/repos/builtin/packages/py-matplotlib/package.py
parent68baac0549e816dce68ebab40c701b92f5f46dec (diff)
downloadspack-402dfe30f99f129d310ccde3381ea7ac8c5fca53.tar.gz
spack-402dfe30f99f129d310ccde3381ea7ac8c5fca53.tar.bz2
spack-402dfe30f99f129d310ccde3381ea7ac8c5fca53.tar.xz
spack-402dfe30f99f129d310ccde3381ea7ac8c5fca53.zip
Get Rid of nobuild, nolink, and alldeps (#2765)
* Removing the nobuild, nolink, and alldeps dependency types in favor of being explicit. * This will help with maintenance going forward, as adding more dependency types won't affect existing declared dependencies in weird ways. * default deptype is still `('build', 'link')`
Diffstat (limited to 'var/spack/repos/builtin/packages/py-matplotlib/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-matplotlib/package.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/py-matplotlib/package.py b/var/spack/repos/builtin/packages/py-matplotlib/package.py
index 8661a3f721..cac4da9e79 100644
--- a/var/spack/repos/builtin/packages/py-matplotlib/package.py
+++ b/var/spack/repos/builtin/packages/py-matplotlib/package.py
@@ -63,16 +63,16 @@ class PyMatplotlib(Package):
depends_on('libpng@1.2:')
depends_on('freetype@2.3:')
- depends_on('py-numpy@1.6:', type=nolink)
- depends_on('py-dateutil@1.1:', type=nolink)
- depends_on('py-pyparsing', type=nolink)
- depends_on('py-pytz', type=nolink)
- depends_on('py-cycler@0.9:', type=nolink)
+ depends_on('py-numpy@1.6:', type=('build', 'run'))
+ depends_on('py-dateutil@1.1:', type=('build', 'run'))
+ depends_on('py-pyparsing', type=('build', 'run'))
+ depends_on('py-pytz', type=('build', 'run'))
+ depends_on('py-cycler@0.9:', type=('build', 'run'))
# ------ Optional GUI frameworks
depends_on('tk@8.3:', when='+tk') # not 8.6.0 or 8.6.1
depends_on('qt', when='+qt')
- depends_on('py-pyside', when='+qt', type=nolink)
+ depends_on('py-pyside', when='+qt', type=('build', 'run'))
# --------- Optional external programs
# ffmpeg/avconv or mencoder
@@ -80,7 +80,7 @@ class PyMatplotlib(Package):
# --------- Optional dependencies
depends_on('pkg-config', type='build') # why not...
- depends_on('py-pillow', when='+image', type=nolink)
+ depends_on('py-pillow', when='+image', type=('build', 'run'))
depends_on('py-ipython', when='+ipython')
depends_on('ghostscript', when='+latex', type='run')
depends_on('texlive', when='+latex', type='run')
@@ -93,7 +93,7 @@ class PyMatplotlib(Package):
# depends_on('agg@2.4:')
depends_on('qhull@2012.1:')
# depends_on('ttconv')
- depends_on('py-six@1.9.0:', type=nolink)
+ depends_on('py-six@1.9.0:', type=('build', 'run'))
def install(self, spec, prefix):
setup_py('build')