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
@@ -37,9 +37,9 @@ class PyMeep(Package):
|
||||
variant('mpi', default=True, description='Enable MPI support')
|
||||
|
||||
extends('python')
|
||||
depends_on('py-numpy', type=nolink)
|
||||
depends_on('py-scipy', type=nolink)
|
||||
depends_on('py-matplotlib', type=nolink)
|
||||
depends_on('py-numpy', type=('build', 'run'))
|
||||
depends_on('py-scipy', type=('build', 'run'))
|
||||
depends_on('py-matplotlib', type=('build', 'run'))
|
||||
|
||||
depends_on('mpi', when='+mpi')
|
||||
depends_on('meep~mpi', when='~mpi')
|
||||
|
Reference in New Issue
Block a user