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.
This commit is contained in:
Anthony Scemama 2020-02-27 04:05:46 +01:00 committed by GitHub
parent f1a12966b0
commit 9c194b22dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,10 +15,12 @@ class F77Zmq(MakefilePackage):
maintainers = ['scemama'] maintainers = ['scemama']
version('4.3.2', sha256='f1fb7544d38d9bb7235f98c96f241875ddcb0d37ed950618c23d4e4d666a73ca')
version('4.3.1', sha256='a15d72d93022d3e095528d2808c7767cece974a2dc0e2dd95e4c122f60fcf0a8') version('4.3.1', sha256='a15d72d93022d3e095528d2808c7767cece974a2dc0e2dd95e4c122f60fcf0a8')
depends_on('libzmq') 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): def setup_build_environment(self, env):
env.append_flags('CFLAGS', '-O3') env.append_flags('CFLAGS', '-O3')