From 376d6119ce0046863e6803cc63409bc70a267cc7 Mon Sep 17 00:00:00 2001 From: Sinan Date: Sun, 30 Aug 2020 08:43:26 -0700 Subject: 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 Co-authored-by: sbulut Co-authored-by: Adam J. Stewart --- .../repos/builtin/packages/py-rios/package.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-rios/package.py 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')) -- cgit v1.2.3-60-g2f50