diff options
author | Seth R. Johnson <johnsonsr@ornl.gov> | 2021-04-12 10:00:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 11:00:32 +0200 |
commit | b7f74f6ef6fe980b4ec832913930c6e8b99087b3 (patch) | |
tree | 421639270add0e41da83835f5929d91db16757b9 | |
parent | 9e702a3d44bde01d4636e9760fc0ddefa233dad6 (diff) | |
download | spack-b7f74f6ef6fe980b4ec832913930c6e8b99087b3.tar.gz spack-b7f74f6ef6fe980b4ec832913930c6e8b99087b3.tar.bz2 spack-b7f74f6ef6fe980b4ec832913930c6e8b99087b3.tar.xz spack-b7f74f6ef6fe980b4ec832913930c6e8b99087b3.zip |
qt: restrict python version when +webkit (#22928)
See #17270.
```
make[2]: Entering directory `/tmp/vavolkl/spack-stage/spack-stage-qt-5.14.2-63dapppjbq6vqh3le7pazsprijls7cfl/spack-src/qtwebengine/src'
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo Modules will not be built. Python version 2 (2.7.5 or later) is required to build QtWebEngine.'
make[2]: *** [errorbuild] Error 1
```
-rw-r--r-- | var/spack/repos/builtin/packages/qt/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index 55b21cd396..d3e00f5c33 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -142,6 +142,7 @@ class Qt(Package): depends_on("gperf", when='+webkit') depends_on("gtkplus", when='+gtk') depends_on("openssl", when='+ssl') + depends_on("python@2.7.5:2.999", when='@5.14: +webkit', type='build') depends_on("sqlite+column_metadata", when='+sql', type=('build', 'run')) depends_on("libpng@1.2.57", when='@3') |