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
@@ -35,10 +35,10 @@ class PyNestle(Package):
|
||||
|
||||
# Required dependencies
|
||||
extends('python')
|
||||
depends_on('py-numpy', type=nolink)
|
||||
depends_on('py-numpy', type=('build', 'run'))
|
||||
|
||||
# Optional dependencies
|
||||
depends_on('py-scipy', type=nolink)
|
||||
depends_on('py-scipy', type=('build', 'run'))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
setup_py('install', '--prefix={0}'.format(prefix))
|
||||
|
Reference in New Issue
Block a user