summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Delaruelle <xavier.delaruelle@cea.fr>2023-05-25 22:29:26 +0200
committerGitHub <noreply@github.com>2023-05-25 22:29:26 +0200
commit2bf95f5340f1940bd5103ac23f9d486c702bf79a (patch)
treea8b6ae199d22af3799f49b402282a45c9760f0dd
parent55561405b8306953098130115859ca5f725ed0b9 (diff)
downloadspack-2bf95f5340f1940bd5103ac23f9d486c702bf79a.tar.gz
spack-2bf95f5340f1940bd5103ac23f9d486c702bf79a.tar.bz2
spack-2bf95f5340f1940bd5103ac23f9d486c702bf79a.tar.xz
spack-2bf95f5340f1940bd5103ac23f9d486c702bf79a.zip
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).
-rw-r--r--var/spack/repos/builtin/packages/environment-modules/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/environment-modules/package.py b/var/spack/repos/builtin/packages/environment-modules/package.py
index 86ef3bd3aa..683c1d0324 100644
--- a/var/spack/repos/builtin/packages/environment-modules/package.py
+++ b/var/spack/repos/builtin/packages/environment-modules/package.py
@@ -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"))