blob: 7824f834e704d3ee47853663b6b6d81b475bb508 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyTuiview(PythonPackage):
"""TuiView is a lightweight raster GIS with powerful raster attribute
table manipulation abilities.
"""
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")
# pip silently replaces distutils with setuptools
depends_on("py-setuptools", type="build")
depends_on("py-pyqt4", type=("build", "run"), when="@:1.1")
depends_on("py-pyqt5", type=("build", "run"), when="@1.2.0:")
depends_on("py-numpy", type=("build", "run"))
depends_on("gdal@1.11.0:+python")
|