# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-metpy
python.rootname     MetPy
version             1.0
revision            0
categories          python science
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         MetPy is a collection of tools in Python for reading, visualizing \
                    and performing calculations with weather data.
long_description    ${description}
platforms           darwin
homepage            https://github.com/Unidata/MetPy

python.versions     37 38 39

checksums           rmd160  aabccb9fa85b5d5f4ddc3e6382b5687f773798c9 \
                    sha256  11b043aaa4e3d35db319e96bb9967eb9f73da653e155bca2d62f838108b100dc \
                    size    7011681

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-setuptools_scm

    depends_lib-append  \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-pint \
                    port:py${python.version}-pooch \
                    port:py${python.version}-scipy \
                    port:py${python.version}-traitlets \
                    port:py${python.version}-xarray
}
