blob: 60c22885f4f69b824fab79adfde5ce978bd2a6fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# 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 PyNetcdf4(PythonPackage):
"""Python interface to the netCDF Library."""
homepage = "https://github.com/Unidata/netcdf4-python"
url = "https://pypi.io/packages/source/n/netCDF4/netCDF4-1.2.7.tar.gz"
version('1.2.7', '77b357d78f9658dd973dee901f6d86f8')
version('1.2.3.1', '24fc0101c7c441709c230e76af611d53')
depends_on('py-setuptools', type='build')
depends_on('py-cython@0.19:', type='build')
depends_on('py-numpy@1.7:', type=('build', 'run'))
depends_on('netcdf')
depends_on('hdf5@1.8.0:')
|