
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files - [x] update all licensed files to say 2013-2021 using `spack license update-copyright-year` - [x] appease mypy with some additions to package.py that needed for oneapi.py
22 lines
647 B
Python
22 lines
647 B
Python
# Copyright 2013-2021 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."""
|
|
|
|
pypi = "cdo/cdo-1.3.2.tar.gz"
|
|
|
|
version('1.3.2', sha256='9f78879d90d14134f2320565016d0d371b7dfe7ec71110fd313868ec1db34aee')
|
|
|
|
depends_on('cdo')
|
|
|
|
depends_on('py-setuptools', type='build')
|
|
depends_on('py-scipy', type=('build', 'run'))
|
|
depends_on('py-netcdf4', type=('build', 'run'))
|