From 9615ac42cf06349137a2bf68495187f7525084a1 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Tue, 28 Apr 2020 05:08:00 -0600 Subject: votca-*: fix stable deps (#16339) --- var/spack/repos/builtin/packages/votca-tools/package.py | 8 ++++---- var/spack/repos/builtin/packages/votca-xtp/package.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/var/spack/repos/builtin/packages/votca-tools/package.py b/var/spack/repos/builtin/packages/votca-tools/package.py index 53cf0a2653..09f8e5aab6 100644 --- a/var/spack/repos/builtin/packages/votca-tools/package.py +++ b/var/spack/repos/builtin/packages/votca-tools/package.py @@ -32,15 +32,15 @@ class VotcaTools(CMakePackage): patch("https://github.com/votca/tools/pull/229.patch", sha256="250d0b679e5d3104e3c8d6adf99751b71386c7ed4cbdae1c75408717ef3f401f", when="@1.6+mkl") variant('mkl', default=False, description='Build with MKL support') - conflicts('+mkl', when='@:1.5.9999') + conflicts('+mkl', when='@1.4:1.5.9999') depends_on("cmake@2.8:", type='build') depends_on("expat") depends_on("fftw") - depends_on("gsl", when="@:1.4.9999") - depends_on("eigen@3.3:", when="@1.5:") + depends_on("gsl", when="@1.4:1.4.9999") + depends_on("eigen@3.3:", when="@stable,1.5:") depends_on("boost") - depends_on("sqlite", when="@:1.5.9999") + depends_on("sqlite", when="@1.4:1.5.9999") depends_on('mkl', when='+mkl') def cmake_args(self): diff --git a/var/spack/repos/builtin/packages/votca-xtp/package.py b/var/spack/repos/builtin/packages/votca-xtp/package.py index bb14f58252..21cfdf4edb 100644 --- a/var/spack/repos/builtin/packages/votca-xtp/package.py +++ b/var/spack/repos/builtin/packages/votca-xtp/package.py @@ -31,6 +31,6 @@ class VotcaXtp(CMakePackage): for v in ["1.4.1", "1.5", "1.5.1", "1.6", "master", "stable"]: depends_on('votca-tools@%s' % v, when="@%s:%s.0" % (v, v)) depends_on('votca-csg@%s' % v, when="@%s:%s.0" % (v, v)) - depends_on("libxc", when='@1.5:') + depends_on("libxc", when='@stable,1.5:') depends_on("ceres-solver", when='@1.5:1.5.9999') depends_on("hdf5+cxx~mpi") -- cgit v1.2.3-70-g09d2