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
@@ -50,10 +50,10 @@ class PyH5py(Package):
|
||||
depends_on('py-mpi4py', when='+mpi')
|
||||
|
||||
# Build and runtime dependencies
|
||||
depends_on('py-numpy@1.6.1:', type=nolink)
|
||||
depends_on('py-numpy@1.6.1:', type=('build', 'run'))
|
||||
|
||||
# Runtime dependencies
|
||||
depends_on('py-six', type=nolink)
|
||||
depends_on('py-six', type=('build', 'run'))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
setup_py('configure', '--hdf5={0}'.format(spec['hdf5'].prefix))
|
||||
|
Reference in New Issue
Block a user