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
@@ -40,8 +40,8 @@ class PyCdo(Package):
|
||||
depends_on('cdo')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-scipy', type=nolink)
|
||||
depends_on('py-netcdf', type=nolink)
|
||||
depends_on('py-scipy', type=('build', 'run'))
|
||||
depends_on('py-netcdf', type=('build', 'run'))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
setup_py('install', '--prefix={0}'.format(prefix))
|
||||
|
Reference in New Issue
Block a user