# -*- 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.23.0
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  591ae50289c98a395138fccb02beecaf6a00549c \
                    sha256  c9a7f75d063bbd3688d532e9ed42ed9852b667d6cb4447a21fe09c6f48095c6a \
                    size    95726

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 \
                    port:py${python.version}-shapely

    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
}
