summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cdo/package.py
blob: f2628d5e7f3c283531e0d495eb0ee98b959d3cd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2018 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 PyCdo(PythonPackage):
    """The cdo package provides an interface to the Climate Data
    Operators from Python."""

    homepage = "https://pypi.python.org/pypi/cdo"
    url      = "https://pypi.io/packages/source/c/cdo/cdo-1.3.2.tar.gz"

    version('1.3.2', '4b3686ec1b9b891f166c1c466c6db745')

    depends_on('cdo')

    depends_on('py-setuptools', type='build')
    depends_on('py-scipy', type=('build', 'run'))
    depends_on('py-netcdf4', type=('build', 'run'))