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')`
This commit is contained in:

committed by
Todd Gamblin

parent
68baac0549
commit
402dfe30f9
@@ -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')
|
||||
|
Reference in New Issue
Block a user