diff options
-rw-r--r-- | var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py b/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py index f752f1b8c5..c25b492fc6 100644 --- a/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py +++ b/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py @@ -69,7 +69,9 @@ class EcpDataVisSdk(BundlePackage): state = ['+' if d == '1' else '~' for d in format(i, '0' + str(n) + 'b')] [pkg_vars, dep_vars] = [''.join(v) for v in zip( *[(s + pv, s + dv) for s, (pv, dv) in zip(state, variants.items())])] - depends_on(dep_spec + dep_vars, when=(pkg_spec + pkg_vars)) + dependency = ' '.join((dep_spec, dep_vars)) + predicate = ' '.join((pkg_spec, pkg_vars)) + depends_on(dependency, when=predicate) ############################################################ # Dependencies |