summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2020-08-30 08:43:26 -0700
committerGitHub <noreply@github.com>2020-08-30 10:43:26 -0500
commit376d6119ce0046863e6803cc63409bc70a267cc7 (patch)
tree01bed83b0a0d276d1abb2f671eb7d3d83a56c3fc /var
parentfc6cf29f0fdd9ee4c9639a25604e3d7bc1bfff0a (diff)
downloadspack-376d6119ce0046863e6803cc63409bc70a267cc7.tar.gz
spack-376d6119ce0046863e6803cc63409bc70a267cc7.tar.bz2
spack-376d6119ce0046863e6803cc63409bc70a267cc7.tar.xz
spack-376d6119ce0046863e6803cc63409bc70a267cc7.zip
new package: py-rios (#18381)
* new package: py-rios * flake8 * Update var/spack/repos/builtin/packages/py-rios/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: sbulut <sbulut@3vgeomatics.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-rios/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-rios/package.py b/var/spack/repos/builtin/packages/py-rios/package.py
new file mode 100644
index 0000000000..a2b56e941a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rios/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 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 import *
+
+
+class PyRios(PythonPackage):
+ """Raster I/O Simplification. A set of python modules which makes it easy
+ to write raster processing code in Python. Built on top of GDAL, it
+ handles the details of opening and closing files, checking alignment of
+ projection and raster grid, stepping through the raster in small blocks,
+ etc., allowing the programmer to concentrate on the processing involved.
+ """
+
+ homepage = "http://rioshome.org"
+ url = "https://github.com/ubarsc/rios/archive/rios-1.4.10.tar.gz"
+
+ version('1.4.10', sha256='7f11b54eb1f2ec551d7fc01c039b60bf2c67f0c2fc5b2946f8d986d6a9bc7063')
+
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('gdal+python', type=('build', 'run'))