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,9 +35,9 @@ class PyWcsaxes(Package):
|
||||
version('0.8', 'de1c60fdae4c330bf5ddb9f1ab5ab920')
|
||||
|
||||
extends('python', ignore=r'bin/pbr')
|
||||
depends_on('py-numpy', type=nolink)
|
||||
depends_on('py-matplotlib', type=nolink)
|
||||
depends_on('py-astropy', type=nolink)
|
||||
depends_on('py-numpy', type=('build', 'run'))
|
||||
depends_on('py-matplotlib', type=('build', 'run'))
|
||||
depends_on('py-astropy', type=('build', 'run'))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
setup_py('install', '--prefix={0}'.format(prefix))
|
||||
|
Reference in New Issue
Block a user