# -*- 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-movingpandas
version             0.22.4
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         MovingPandas is a Python library for movement data exploration and \
                    analysis.
long_description    {*}${description} MovingPandas provides trajectory data structures \
                    and functions for handling movement data based on Pandas, \
                    GeoPandas, and HoloViz
homepage            https://github.com/movingpandas/movingpandas

checksums           rmd160  f1a110631b1c6fa6489f55de2c5fab3cad777514 \
                    sha256  2c4bb6f45f32ccd787d8a05397d5746f9d9207bf07b8cbfc36d49fc17e0824be \
                    size    76001

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-geopandas \
                    port:py${python.version}-geopy \
                    port:py${python.version}-matplotlib

    variant viz description "Add viz support" {
        depends_lib-append  \
                    port:py${python.version}-bokeh \
                    port:py${python.version}-cartopy \
                    port:py${python.version}-folium \
                    port:py${python.version}-geoviews \
                    port:py${python.version}-hvplot \
                    port:py${python.version}-mapclassify \
                    port:py${python.version}-matplotlib
    }

    default_variants +viz
}
