From 060731a8248856717adef3b76c7bdc4cfb007edc Mon Sep 17 00:00:00 2001 From: darmac Date: Tue, 18 Aug 2020 10:22:53 +0800 Subject: [PATCH] ape: fix build error and update version (#17952) * ape: fix build error and update version * ape: fix 2.3.0 & 2.3.1 * ape: only refine libxc version constraintion * ape: fix flake8 error --- var/spack/repos/builtin/packages/ape/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/ape/package.py b/var/spack/repos/builtin/packages/ape/package.py index bf9f895e68..343b1a1185 100644 --- a/var/spack/repos/builtin/packages/ape/package.py +++ b/var/spack/repos/builtin/packages/ape/package.py @@ -16,7 +16,8 @@ class Ape(Package): version('2.2.1', sha256='1bdb7f987fde81f8a5f335da6b59fa884e6d185d4a0995c90fde7c04376ce9e3') depends_on('gsl') - depends_on('libxc@:2.2.2') + depends_on('libxc@:4.999', when='@2.3.0:') + depends_on('libxc@:2.2.2', when='@:2.2.1') def install(self, spec, prefix): args = []