summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAnthony Scemama <scemama@irsamc.ups-tlse.fr>2020-02-27 04:05:46 +0100
committerGitHub <noreply@github.com>2020-02-26 19:05:46 -0800
commit9c194b22dc8a9e09be9edfe93822103a7baea297 (patch)
treecc032e08f3be99e9e57715ad05cb77dc4f5b3941 /var
parentf1a12966b002f78502719014cd7645c232314bb7 (diff)
downloadspack-9c194b22dc8a9e09be9edfe93822103a7baea297.tar.gz
spack-9c194b22dc8a9e09be9edfe93822103a7baea297.tar.bz2
spack-9c194b22dc8a9e09be9edfe93822103a7baea297.tar.xz
spack-9c194b22dc8a9e09be9edfe93822103a7baea297.zip
f77-zmq: add version 4.3.2 (#15204)
Version 4.3.1 only works with Python3. Version 4.3.2 also works with Python2. These constraints were not listed before and are added by this commit.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/f77-zmq/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/f77-zmq/package.py b/var/spack/repos/builtin/packages/f77-zmq/package.py
index c78f3f4110..bab4469442 100644
--- a/var/spack/repos/builtin/packages/f77-zmq/package.py
+++ b/var/spack/repos/builtin/packages/f77-zmq/package.py
@@ -15,10 +15,12 @@ class F77Zmq(MakefilePackage):
maintainers = ['scemama']
+ version('4.3.2', sha256='f1fb7544d38d9bb7235f98c96f241875ddcb0d37ed950618c23d4e4d666a73ca')
version('4.3.1', sha256='a15d72d93022d3e095528d2808c7767cece974a2dc0e2dd95e4c122f60fcf0a8')
depends_on('libzmq')
- depends_on('python', type='build')
+ depends_on('python@3:', type='build', when="@:4.3.1")
+ depends_on('python', type='build', when="@4.3.2:")
def setup_build_environment(self, env):
env.append_flags('CFLAGS', '-O3')