# -*- 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.3
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  2d0a561b9bac7afc8c511b4691cf9dec04363768 \
                    sha256  a61c98e2807e08246c3e7f39635886af0b21c3a8e4da5f4d43a4b4784eadf18a \
                    size    10080471

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}-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
}
