# -*- 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-pandarm
version             0.0.5
revision            0

license             AGPL-3
maintainers         {mps @Schamschula} openmaintainer
description         A pandas-centric interface to highly performant travel network \
                    analysis leveraging contraction hierarchies provided by code from \
                    the Open Source Routing Machine (OSRM).
long_description    {*}${description} Hence, the pandas routing machine, pandarm.
homepage            https://github.com/oturns/pandarm

checksums           rmd160  39463de0a6bda274880defc8f3c62fb6132a8d02 \
                    sha256  8aa54a49e2f46be1be342942b13c5731678da38388beae37d10e100fb30c4fbe \
                    size    13529714

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    configure.cxx   clang++-mp-22

    depends_build-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-setuptools_scm

    depends_lib-append  \
                    port:py${python.version}-geopandas \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-scikit-learn \
                    port:py${python.version}-tables
}
