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