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:
Elizabeth Fischer
2017-01-07 22:59:02 -05:00
committed by Todd Gamblin
parent 68baac0549
commit 402dfe30f9
184 changed files with 508 additions and 515 deletions

View File

@@ -56,15 +56,15 @@ class PyYt(Package):
extends("python")
depends_on("py-astropy", type="nolink", when="+astropy")
depends_on("py-cython", type="nolink")
depends_on("py-h5py", type="nolink", when="+h5py")
depends_on("py-ipython", type="nolink")
depends_on("py-matplotlib", type="nolink")
depends_on("py-numpy", type="nolink")
depends_on("py-scipy", type="nolink", when="+scipy")
depends_on("py-astropy", type=('build', 'run'), when="+astropy")
depends_on("py-cython", type=('build', 'run'))
depends_on("py-h5py", type=('build', 'run'), when="+h5py")
depends_on("py-ipython", type=('build', 'run'))
depends_on("py-matplotlib", type=('build', 'run'))
depends_on("py-numpy", type=('build', 'run'))
depends_on("py-scipy", type=('build', 'run'), when="+scipy")
depends_on("py-setuptools", type="build")
depends_on("py-sympy", type="nolink")
depends_on("py-sympy", type=('build', 'run'))
depends_on("python @2.7:2.999,3.4:")
def install(self, spec, prefix):