From 1597d6762902ba6ddc4af0255cb82f87c2ae616f Mon Sep 17 00:00:00 2001 From: Justin M Wozniak Date: Tue, 16 Oct 2018 15:27:23 -0500 Subject: stc and turbine: fix depends_on(type) (#9537) --- var/spack/repos/builtin/packages/stc/package.py | 8 ++++---- var/spack/repos/builtin/packages/turbine/package.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/stc/package.py b/var/spack/repos/builtin/packages/stc/package.py index 2227b50c31..0f32f04d63 100644 --- a/var/spack/repos/builtin/packages/stc/package.py +++ b/var/spack/repos/builtin/packages/stc/package.py @@ -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] diff --git a/var/spack/repos/builtin/packages/turbine/package.py b/var/spack/repos/builtin/packages/turbine/package.py index 75e3f67a7a..b5abaf337c 100644 --- a/var/spack/repos/builtin/packages/turbine/package.py +++ b/var/spack/repos/builtin/packages/turbine/package.py @@ -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') -- cgit v1.2.3-70-g09d2