diff options
author | citibeth <rpf2116@columbia.edu> | 2016-03-27 11:06:10 -0400 |
---|---|---|
committer | citibeth <rpf2116@columbia.edu> | 2016-03-27 11:06:10 -0400 |
commit | cc42391e0fa6eda490c4aeffcbfbae584f077db3 (patch) | |
tree | cf1695f6515b34c9de3796c1fd02fa7ccd5c612c /var | |
parent | 42ec82237921b87316548ca3ce113e59acd2c21d (diff) | |
download | spack-cc42391e0fa6eda490c4aeffcbfbae584f077db3.tar.gz spack-cc42391e0fa6eda490c4aeffcbfbae584f077db3.tar.bz2 spack-cc42391e0fa6eda490c4aeffcbfbae584f077db3.tar.xz spack-cc42391e0fa6eda490c4aeffcbfbae584f077db3.zip |
Added py-netcdf
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-netcdf/package.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-netcdf/package.py b/var/spack/repos/builtin/packages/py-netcdf/package.py new file mode 100644 index 0000000000..7faa15ad25 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-netcdf/package.py @@ -0,0 +1,16 @@ +from spack import * + +class PyNetcdf(Package): + """Python interface to the netCDF Library.""" + homepage = "http://unidata.github.io/netcdf4-python" + url = "https://github.com/Unidata/netcdf4-python/tarball/v1.2.3.1rel" + + version('1.2.3.1', '4fc4320d4f2a77b894ebf8da1c9895af') + + extends('python') + depends_on('py-numpy') + depends_on('py-cython') + depends_on('netcdf') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) |