summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordorier <dorier@users.noreply.github.com>2018-10-08 08:10:03 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-10-08 09:10:03 +0200
commite51b48d9a1157fa80f02881a44e35c01b4156bea (patch)
tree98e34bb2eb2bd4ef2de484a97e147828aabe9f4d
parentbaa664ffaa5332d4392a9de7faad8c8f1732c932 (diff)
downloadspack-e51b48d9a1157fa80f02881a44e35c01b4156bea.tar.gz
spack-e51b48d9a1157fa80f02881a44e35c01b4156bea.tar.bz2
spack-e51b48d9a1157fa80f02881a44e35c01b4156bea.tar.xz
spack-e51b48d9a1157fa80f02881a44e35c01b4156bea.zip
Catalyst Package: made Python mandatory at build time (#9432)
The build process of Catalyst requires Python at build time (see line 86) even when the +python variant is not selected. When the +python variant is selected, Python becomes required at build, link, and run time. There doesn't seem to be any restriction on the version of Python required when +python is not selected.
-rw-r--r--var/spack/repos/builtin/packages/catalyst/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/catalyst/package.py b/var/spack/repos/builtin/packages/catalyst/package.py
index c4d8dcd8b0..91f9622873 100644
--- a/var/spack/repos/builtin/packages/catalyst/package.py
+++ b/var/spack/repos/builtin/packages/catalyst/package.py
@@ -58,7 +58,8 @@ class Catalyst(CMakePackage):
depends_on('git')
depends_on('mpi')
- depends_on('python@2:2.8', when='+python')
+ depends_on('python@2:2.8', when='+python', type=("build", "link", "run"))
+ depends_on('python', when='~python', type=("build"))
depends_on('mesa', when='+rendering')
depends_on("libx11", when='+rendering')
depends_on("libxt", when='+rendering')