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 ```
This commit is contained in:
parent
9e702a3d44
commit
b7f74f6ef6
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ class Qt(Package):
|
||||||
depends_on("gperf", when='+webkit')
|
depends_on("gperf", when='+webkit')
|
||||||
depends_on("gtkplus", when='+gtk')
|
depends_on("gtkplus", when='+gtk')
|
||||||
depends_on("openssl", when='+ssl')
|
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("sqlite+column_metadata", when='+sql', type=('build', 'run'))
|
||||||
|
|
||||||
depends_on("libpng@1.2.57", when='@3')
|
depends_on("libpng@1.2.57", when='@3')
|
||||||
|
|
Loading…
Reference in a new issue