From a7da5dcb199a2aa3f189f2e67dac25b5ea578525 Mon Sep 17 00:00:00 2001 From: Milton Woods Date: Fri, 5 Jul 2019 00:38:48 +1000 Subject: py-stratify: vertical interpolation/stratification of atmos/ocean data (#11911) * py-stratify: vertical interpolation/stratification of atmos/ocean data * py-stratify: download from pypi.io --- .../repos/builtin/packages/py-stratify/package.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-stratify/package.py diff --git a/var/spack/repos/builtin/packages/py-stratify/package.py b/var/spack/repos/builtin/packages/py-stratify/package.py new file mode 100644 index 0000000000..2323c0f551 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-stratify/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2019 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 PyStratify(PythonPackage): + """Vectorized interpolators that are especially useful for + Nd vertical interpolation/stratification of atmospheric and + oceanographic datasets. + """ + + homepage = "https://github.com/SciTools-incubator/python-stratify" + url = "https://pypi.io/packages/source/s/stratify/stratify-0.1.tar.gz" + + version('0.1', sha256='5426f3b66e45e1010952d426e5a7be42cd45fe65f1cd73a98fee1eb7c110c6ee') + + depends_on('py-setuptools', type='build') + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-cython', type=('build', 'run')) -- cgit v1.2.3-60-g2f50