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
This commit is contained in:
darmac 2020-08-18 10:22:53 +08:00 committed by GitHub
parent 264958fc18
commit 060731a824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = []