cvise package: add version 2.10.0 and ncurses constraint (#43319)

This commit is contained in:
Mikael Simberg 2024-04-17 22:41:33 +02:00 committed by GitHub
parent 32bb5c7523
commit b362362291
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,12 +17,14 @@ class Cvise(CMakePackage):
license("NCSA") license("NCSA")
version("master", branch="master") version("master", branch="master")
version("2.10.0", tag="v2.10.0", commit="c8606497e354ddab273745cf823823bdd3e86bd8")
version("2.7.0", tag="v2.7.0", commit="d9e4a50514d9931b2a1293755a7e96e0f9520032") version("2.7.0", tag="v2.7.0", commit="d9e4a50514d9931b2a1293755a7e96e0f9520032")
variant("pytest", default=False, description="Add py-pytest as dependency") variant("pytest", default=False, description="Add py-pytest as dependency")
variant("colordiff", default=False, description="Add colordiff support") variant("colordiff", default=False, description="Add colordiff support")
depends_on("cmake", type="build") depends_on("cmake@2.8.12:", type="build")
depends_on("cmake@3.14:", when="@2.9:", type="build")
depends_on("flex", type=("build", "run")) depends_on("flex", type=("build", "run"))
depends_on("llvm@9.0.0:", type=("build", "run")) depends_on("llvm@9.0.0:", type=("build", "run"))
depends_on("python@3.6:", type=("build", "run")) depends_on("python@3.6:", type=("build", "run"))
@ -33,3 +35,8 @@ class Cvise(CMakePackage):
depends_on("py-pytest", when="+pytest", type=("build", "run")) depends_on("py-pytest", when="+pytest", type=("build", "run"))
depends_on("colordiff", when="+colordiff", type=("build", "run")) depends_on("colordiff", when="+colordiff", type=("build", "run"))
# C-Vise doesn't directly depend on ncurses, but LLVM does. However, LLVM
# doesn't provide correctly export terminfo CMake targets that it depends on
# and C-Vise fails during configuration with ncurses +termlib.
depends_on("ncurses ~termlib", when="^llvm +lldb")