# -*- 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-tropycal
version             1.5
revision            0

categories-append   science
license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Tropycal is a Python package intended to simplify the process of \
                    retrieving and analyzing tropical cyclone data, both for past \
                    storms and in real time, and is geared towards the research and \
                    operational meteorology sectors.
long_description    {*}${description}
homepage            https://github.com/tropycal/tropycal

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  0d9017bd01929979a18a37852310cb6533923016 \
                    sha256  a16660422ea02fa363260a790ef62358c02ca41f28e7a1684464df3b93f42f8c \
                    size    10082927

python.versions     310 311 312 313 314

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

    depends_lib-append  \
                    port:py${python.version}-cartopy \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-networkx \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-pyshp \
                    port:py${python.version}-requests \
                    port:py${python.version}-scipy \
                    port:py${python.version}-xarray
}
