From 58c2997b84c0eb2cc7535fd2805e94130ec5c859 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Mon, 17 May 2021 03:22:45 -0500 Subject: [PATCH] Add version 4.1.1.0 to atompaw (#23659) Also adjust the libxc constraints. --- var/spack/repos/builtin/packages/atompaw/package.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/atompaw/package.py b/var/spack/repos/builtin/packages/atompaw/package.py index dfb9ca2258..ed4f7f6811 100644 --- a/var/spack/repos/builtin/packages/atompaw/package.py +++ b/var/spack/repos/builtin/packages/atompaw/package.py @@ -18,14 +18,16 @@ class Atompaw(Package): homepage = "http://users.wfu.edu/natalie/papers/pwpaw/man.html" url = "http://users.wfu.edu/natalie/papers/pwpaw/atompaw-4.0.0.13.tar.gz" + version('4.1.1.0', sha256='b1ee2b53720066655d98523ef337e54850cb1e68b3a2da04ff5a1576d3893891') version('4.0.0.13', sha256='cbd73f11f3e9cc3ff2e5f3ec87498aeaf439555903d0b95a72f3b0a021902020') version('3.1.0.3', sha256='15fe9a0369bdcc366370a0ecaa67e803ae54534b479ad63c4c7494a04fa3ea78') depends_on("lapack") depends_on("blas") - # pin libxc version - depends_on("libxc@2.2.1") + # libxc + depends_on('libxc') + depends_on('libxc@:2', when='@:4.0') def install(self, spec, prefix): options = ['--prefix=%s' % prefix]