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
This commit is contained in:
Neil Flood 2020-03-19 08:05:05 +10:00 committed by GitHub
parent 6a51d540f1
commit 432bdeee85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,11 +11,13 @@ class PyTuiview(PythonPackage):
table manipulation abilities. table manipulation abilities.
""" """
homepage = "https://bitbucket.org/chchrsc/tuiview" homepage = "https://github.com/ubarsc/tuiview"
url = "https://bitbucket.org/chchrsc/tuiview/get/tuiview-1.1.7.tar.gz" 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') 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("py-numpy", type=('build', 'run'))
depends_on("gdal") depends_on("gdal@1.11.0:+python")