environment-modules: add main branch (#36268)

This commit is contained in:
Michael Kuhn 2023-03-21 08:13:27 +01:00 committed by GitHub
parent 9b09d8bc49
commit 9288ece826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,9 +14,11 @@ class EnvironmentModules(Package):
homepage = "https://cea-hpc.github.io/modules/"
url = "https://github.com/cea-hpc/modules/releases/download/v5.2.0/modules-5.2.0.tar.gz"
git = "https://github.com/cea-hpc/modules.git"
maintainers("xdelaruelle")
version("main", branch="main")
version("5.2.0", sha256="48f9f10864303df628a48cab17074820a6251ad8cd7d66dd62aa7798af479254")
version("5.1.1", sha256="1985f79e0337f63d6564b08db0238cf96a276a4184def822bb8ad37996dc8295")
version("5.1.0", sha256="1ab1e859b9c8bca8a8d332945366567fae4cf8dd7e312a689daaff46e7ffa949")
@ -55,6 +57,11 @@ class EnvironmentModules(Package):
variant("X", default=True, description="Build with X functionality")
depends_on("autoconf", type="build", when="@main")
depends_on("automake", type="build", when="@main")
depends_on("libtool", type="build", when="@main")
depends_on("m4", type="build", when="@main")
# Dependencies:
depends_on("tcl", type=("build", "link", "run"))
depends_on("tcl@8.4:", type=("build", "link", "run"), when="@4.0.0:4.8")