Use proper deptype so that spack activate works

This commit is contained in:
Adam J. Stewart 2016-07-22 11:38:12 -05:00
parent b4cd2a85df
commit 4014a29d2b

View file

@ -37,9 +37,9 @@ class PyMeep(Package):
variant('mpi', default=True, description='Enable MPI support')
extends('python')
depends_on('py-numpy')
depends_on('py-scipy')
depends_on('py-matplotlib')
depends_on('py-numpy', type=nolink)
depends_on('py-scipy', type=nolink)
depends_on('py-matplotlib', type=nolink)
depends_on('mpi', when='+mpi')
depends_on('meep~mpi', when='~mpi')