flux-core: drop czmq,jsonschema requirements for recent versions (#42560)

Problem: Older versions of the flux-core package require czmq and
jsonschema, but these dependencies have been dropped in recent
versions.

Add `when=` arguments to drop these requirements for the appropriate
versions of flux-core.
This commit is contained in:
Mark Grondona 2024-02-12 09:55:00 +00:00 committed by GitHub
parent 6d68dcf13c
commit b23038db53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,7 +135,7 @@ class FluxCore(AutotoolsPackage):
depends_on("libarchive+iconv", when="@0.38.0:")
depends_on("ncurses@6.2:", when="@0.32.0:")
depends_on("libzmq@4.0.4:")
depends_on("czmq@3.0.1:")
depends_on("czmq@3.0.1:", when="@:0.54.0")
depends_on("hwloc@1.11.1:1", when="@:0.17.0")
depends_on("hwloc@1.11.1:", when="@0.17.0:")
depends_on("hwloc +cuda", when="+cuda")
@ -153,7 +153,7 @@ class FluxCore(AutotoolsPackage):
depends_on("py-cffi@1.1:", type=("build", "run"))
depends_on("py-six@1.9:", when="@:0.24", type=("build", "run"))
depends_on("py-pyyaml@3.10:", type=("build", "run"))
depends_on("py-jsonschema@2.3:", type=("build", "run"))
depends_on("py-jsonschema@2.3:", type=("build", "run"), when="@:0.58.0")
depends_on("py-ply", type=("build", "run"), when="@0.46.1:")
depends_on("jansson")
depends_on("jansson@2.10:", when="@0.21.0:")