summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-27 13:02:34 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-27 13:02:34 -0700
commit82c09e66d22933303f4284713f5daf464d733975 (patch)
tree6309945172474dd2b3abbfede3dc1b0187bdeece
parentb0b882cbb3d903a85413acb0439a02d6ac9e26fc (diff)
parentcc42391e0fa6eda490c4aeffcbfbae584f077db3 (diff)
downloadspack-82c09e66d22933303f4284713f5daf464d733975.tar.gz
spack-82c09e66d22933303f4284713f5daf464d733975.tar.bz2
spack-82c09e66d22933303f4284713f5daf464d733975.tar.xz
spack-82c09e66d22933303f4284713f5daf464d733975.zip
Merge pull request #662 from citibeth/efischer/160327-NewPackages
New Package: py-netcdf
-rw-r--r--var/spack/repos/builtin/packages/py-netcdf/package.py16
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)