source: trunk/dports/python/py-pygrib/Portfile

Last change on this file was 151646, checked in by takeshi@…, 11 months ago

py-pygrib: update to 2.0.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
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: Portfile 151646 2016-08-19 05:07:59Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pygrib
8version             2.0.1
9revision            0
10categories-append   science
11license             MIT
12platforms           darwin
13
14maintainers         fastmail.fm:jswhit openmaintainer
15
16description         Python interface to the Grib API library
17long_description    ${description}
18
19homepage            https://github.com/jswhit/pygrib
20master_sites        pypi:p/pygrib
21distname            pygrib-${version}
22
23checksums           rmd160  ccd26e802402bd47da75869213c390370f19ca51 \
24                    sha256  c4520c1f473e887809a4849f3dc330c3e45ed0a8d98290e1fc902ebf8d8d6adf
25
26python.default_version 27
27python.versions     26 27 33 34
28
29if {${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}
Note: See TracBrowser for help on using the repository browser.