# -*- 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.4
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  46e52aae7b4854236400bd1b6be4ac2a8a3cb97a \
                    sha256  3ad0b3b5b5631ba6db8b24aae16b32baa7e43bba841468faa58355790720d12c \
                    size    10080794

python.versions     310 311 312 313

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
}
