# -*- 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             0.2.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}
platforms           darwin
homepage            https://github.com/tropycal/tropycal

checksums           rmd160  e0961ad72e1769817888f42ad6fe27086d2b9fd4 \
                    sha256  e3262b4d35d531b86c04b32968254a9ccfbc689ab71211d934db724aeff5813f \
                    size    7198024

python.versions     37 38 39

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}-geopy \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-networkx \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-scipy \
                    port:py${python.version}-xarray
}

patchfiles          patch-setup.py.diff
