summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Flood <neilflood@fastmail.fm>2020-03-19 08:05:05 +1000
committerGitHub <noreply@github.com>2020-03-18 17:05:05 -0500
commit432bdeee85edc7fce6b2de100daa2af8d498404f (patch)
treeb771ee5c36a2e87f1523e7d1d5b749da12d31335
parent6a51d540f1de670c817133a47360316782617457 (diff)
downloadspack-432bdeee85edc7fce6b2de100daa2af8d498404f.tar.gz
spack-432bdeee85edc7fce6b2de100daa2af8d498404f.tar.bz2
spack-432bdeee85edc7fce6b2de100daa2af8d498404f.tar.xz
spack-432bdeee85edc7fce6b2de100daa2af8d498404f.zip
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
-rw-r--r--var/spack/repos/builtin/packages/py-tuiview/package.py10
1 files 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")