environment-modules: fix @main version requirements (#37807)

Some requirements for @main version of environment-modules were missing:

* python (to build ChangeLog documentation file)
* py-sphinx@1.0: (to build man-pages, etc)

Also adding gzip, which is now required to build ChangeLog.gz (which is
now shipped instead of ChangeLog).

Other versions are not requiring these tools (as documentation is
pre-built in dist tarball).
This commit is contained in:
Xavier Delaruelle 2023-05-25 22:29:26 +02:00 committed by GitHub
parent 55561405b8
commit 2bf95f5340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,9 @@ class EnvironmentModules(Package):
depends_on("automake", type="build", when="@main")
depends_on("libtool", type="build", when="@main")
depends_on("m4", type="build", when="@main")
depends_on("python", type="build", when="@main")
depends_on("py-sphinx@1.0:", type="build", when="@main")
depends_on("gzip", type="build", when="@main")
# Dependencies:
depends_on("tcl", type=("build", "link", "run"))