stc and turbine: fix depends_on(type) (#9537)

This commit is contained in:
Justin M Wozniak 2018-10-16 15:27:23 -05:00 committed by Todd Gamblin
parent ef11d27f7f
commit 1597d67629
2 changed files with 6 additions and 6 deletions

View file

@ -34,10 +34,10 @@ class Stc(AutotoolsPackage):
version('0.8.2', '883b0657f1aac9b81158ef0a8989be4c')
depends_on('java')
depends_on('ant')
depends_on('turbine')
depends_on('zsh')
depends_on('java', type=('build', 'run'))
depends_on('ant', type='build')
depends_on('turbine', type=('build', 'run'))
depends_on('zsh', type=('build', 'run'))
def configure_args(self):
args = ['--with-turbine=' + self.spec['turbine'].prefix]

View file

@ -43,8 +43,8 @@ class Turbine(AutotoolsPackage):
depends_on('adlbx@:0.8.0', when='@:1.1.0')
depends_on('adlbx', when='@1.2.1:')
depends_on('adlbx')
depends_on('tcl')
depends_on('zsh')
depends_on('tcl', type=('build', 'run'))
depends_on('zsh', type=('build', 'run'))
depends_on('swig', type='build')
depends_on('python', when='+python')
depends_on('r', when='+r')