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 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | name py-netcdf4 |
---|
7 | version 1.0fix1 |
---|
8 | categories-append science |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license MIT |
---|
12 | description Python interface to the netCDF version 4 library. |
---|
13 | long_description ${description} |
---|
14 | homepage http://code.google.com/p/netcdf4-python/ |
---|
15 | master_sites googlecode:netcdf4-python |
---|
16 | |
---|
17 | distname netCDF4-${version} |
---|
18 | |
---|
19 | checksums sha1 fd80d9445824cd8ad9b0f7bbff8fb5146bf4b2f5 \ |
---|
20 | rmd160 ef7cb2164c752cac3b6cb150339e4883407d350d \ |
---|
21 | sha256 57f8d598521cc5bce90ad70a4df5dcf4947e8ab0252e6803e272547d7910e97b |
---|
22 | |
---|
23 | python.default_version 27 |
---|
24 | python.versions 26 27 |
---|
25 | |
---|
26 | build.env-append USE_NCCONFIG=1 |
---|
27 | destroot.env USE_NCCONFIG=1 |
---|
28 | |
---|
29 | if {$subport != $name} { |
---|
30 | depends_lib-append port:netcdf port:py${python.version}-numpy |
---|
31 | |
---|
32 | if {$version == "1.0fix1"} { |
---|
33 | worksrcdir netCDF4-1.0 |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
37 | livecheck.type googlecode |
---|
38 | livecheck.regex {netCDF4-(.*)\.tar\.gz} |
---|