1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-netcdf4 |
---|
8 | version 1.0.8 |
---|
9 | revision 1 |
---|
10 | categories-append science |
---|
11 | platforms darwin |
---|
12 | maintainers fastmail.fm:jswhit \ |
---|
13 | openmaintainer |
---|
14 | license MIT |
---|
15 | |
---|
16 | description Python/numpy interface to netCDF |
---|
17 | long_description netCDF version 4 has many features not found in \ |
---|
18 | earlier versions of the library and is implemented \ |
---|
19 | on top of HDF5. This module can read and write files \ |
---|
20 | in both the new netCDF 4 and the old netCDF \ |
---|
21 | 3 format, and can create files that are readable by \ |
---|
22 | HDF5 clients. |
---|
23 | homepage http://code.google.com/p/netcdf4-python/ |
---|
24 | |
---|
25 | master_sites http://pypi.python.org/packages/source/n/netCDF4 |
---|
26 | distname netCDF4-${version} |
---|
27 | |
---|
28 | checksums rmd160 f87865cd2d101d4160504515a177fd396b50c8d0 \ |
---|
29 | sha256 393a2e1bd10332a446a461c1f5e82b79f23fad76c3f3afa9af326dde54a58795 |
---|
30 | |
---|
31 | build.env-append USE_NCCONFIG=1 |
---|
32 | destroot.env-append USE_NCCONFIG=1 |
---|
33 | |
---|
34 | python.versions 26 27 32 33 |
---|
35 | |
---|
36 | if {${name} ne ${subport}} { |
---|
37 | depends_lib-append port:netcdf \ |
---|
38 | port:py${python.version}-numpy |
---|
39 | |
---|
40 | pre-configure { |
---|
41 | # py-netcdf4's setup.py uses nc-config for flags and libs but not compiler |
---|
42 | configure.cc [exec ${prefix}/bin/nc-config --cc] |
---|
43 | } |
---|
44 | |
---|
45 | livecheck.type none |
---|
46 | } else { |
---|
47 | livecheck.type googlecode |
---|
48 | livecheck.regex {netCDF4-(.*)\.tar\.gz} |
---|
49 | } |
---|