# -*- 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
version             1.7.1
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}
homepage            https://github.com/Unidata/MetPy

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  3fb8e90986a903d3669e28414de4fe2ba269ce33 \
                    sha256  cdfd8fdab58bc092a1974c016f2ea3a7715ffdf6a4660b28b0de7049328bce75 \
                    size    13366247

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    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}-pyproj \
                    port:py${python.version}-scipy \
                    port:py${python.version}-traitlets \
                    port:py${python.version}-xarray
}
