From 432bdeee85edc7fce6b2de100daa2af8d498404f Mon Sep 17 00:00:00 2001 From: Neil Flood Date: Thu, 19 Mar 2020 08:05:05 +1000 Subject: Tuiview movetogithub (#15498) * py-tuiview: Source has moved to github * py-tuiview: Explicitly require +python on gdal dependency * py-tuiview: Versions up to 1.1.99 are qt4 only * py-tuiview: Add version 1.2.6, which is qt5 only * Explicit version range on gdal dependency --- var/spack/repos/builtin/packages/py-tuiview/package.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-tuiview/package.py b/var/spack/repos/builtin/packages/py-tuiview/package.py index 95090a2694..9757dd2343 100644 --- a/var/spack/repos/builtin/packages/py-tuiview/package.py +++ b/var/spack/repos/builtin/packages/py-tuiview/package.py @@ -11,11 +11,13 @@ class PyTuiview(PythonPackage): table manipulation abilities. """ - homepage = "https://bitbucket.org/chchrsc/tuiview" - url = "https://bitbucket.org/chchrsc/tuiview/get/tuiview-1.1.7.tar.gz" + homepage = "https://github.com/ubarsc/tuiview" + url = "https://github.com/ubarsc/tuiview/releases/download/tuiview-1.2.6/tuiview-1.2.6.tar.gz" + version('1.2.6', sha256='61b136fa31c949d7a7a4dbf8562e6fc677d5b1845b152ec39e337f4eb2e91662') version('1.1.7', sha256='fbf0bf29cc775357dad4f8a2f0c2ffa98bbf69d603a96353e75b321adef67573') - depends_on("py-pyqt4", type=('build', 'run')) + depends_on("py-pyqt4", type=('build', 'run'), when='@:1.1.99') + depends_on("py-pyqt5", type=('build', 'run'), when='@1.2.0:') depends_on("py-numpy", type=('build', 'run')) - depends_on("gdal") + depends_on("gdal@1.11.0:+python") -- cgit v1.2.3-70-g09d2