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-pygrib |
---|
8 | version 1.9.9 |
---|
9 | revision 0 |
---|
10 | categories-append science |
---|
11 | license MIT |
---|
12 | platforms darwin |
---|
13 | |
---|
14 | maintainers fastmail.fm:jswhit \ |
---|
15 | openmaintainer |
---|
16 | |
---|
17 | description Python interface to the Grib API library |
---|
18 | long_description ${description} |
---|
19 | |
---|
20 | homepage http://code.google.com/p/pygrib/ |
---|
21 | master_sites http://pypi.python.org/packages/source/p/pygrib |
---|
22 | distname pygrib-${version} |
---|
23 | |
---|
24 | checksums rmd160 41137e22ad3e01a128b9eb2331cfd91d7ba77dea \ |
---|
25 | sha256 554ac3316542e6182f78a1c2b0a4e42babe8b997f72632f1a781107d82bafc48 |
---|
26 | |
---|
27 | python.default_version 27 |
---|
28 | python.versions 26 27 32 33 |
---|
29 | |
---|
30 | if {${name} ne ${subport}} { |
---|
31 | depends_lib-append \ |
---|
32 | port:py${python.version}-pyproj \ |
---|
33 | port:py${python.version}-numpy \ |
---|
34 | port:grib_api |
---|
35 | build.env-append \ |
---|
36 | GRIBAPI_DIR=${prefix} \ |
---|
37 | PNG_DIR=${prefix} \ |
---|
38 | JASPER_DIR=${prefix} \ |
---|
39 | OPENJPEG_DIR=${prefix} |
---|
40 | } |
---|