summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/qgis/package.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/qgis/package.py b/var/spack/repos/builtin/packages/qgis/package.py
index 0c67bd4d10..b50e4db81a 100644
--- a/var/spack/repos/builtin/packages/qgis/package.py
+++ b/var/spack/repos/builtin/packages/qgis/package.py
@@ -85,18 +85,20 @@ class Qgis(CMakePackage):
depends_on('libzip')
depends_on('libtasn1')
depends_on('proj@4.4.0:')
+ depends_on('proj@4.9.3:', when='@3.8.2:')
depends_on('py-psycopg2', type=('build', 'run')) # TODO: is build dependency necessary?
depends_on('py-pyqt4', when='@2')
depends_on('py-pyqt5@5.3:', when='@3')
depends_on('py-requests', type=('build', 'run')) # TODO: is build dependency necessary?
depends_on('python@2.7:2.8', type=('build', 'run'), when='@2')
- # QGIS failed to build for @3.8.7: or exhibited runtime issues
- # ref: https://github.com/spack/spack/issues/26803
- depends_on('python@3.0.0:3.8.6', type=('build', 'run'), when='@3')
+ depends_on('python@3.0.0:', type=('build', 'run'), when='@3')
+ depends_on('python@3.6:', type=('build', 'run'), when='@3.18:')
+ depends_on('python@3.7:', type=('build', 'run'), when='@3.20:')
depends_on('qca@2.2.1')
depends_on('qjson')
depends_on('qscintilla +python')
depends_on('qt+dbus')
+ depends_on('qt+dbus@5.12.0:', when='@3.20:')
depends_on('qtkeychain@0.5:', when='@3:')
depends_on('qwt@5:')
depends_on('qwtpolar')
@@ -123,6 +125,7 @@ class Qgis(CMakePackage):
# build
depends_on('cmake@3.0.0:', type='build')
+ depends_on('cmake@3.10.0:', type='build', when='@3.16:')
depends_on('flex@2.5.6:', type='build')
depends_on('bison@2.4:', type='build')
depends_on('pkgconfig', type='build')