# -*- 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-access
version             1.1.10.post3
revision            0

categories-append   gis
license             BSD
maintainers         nomaintainer
description         Spatial Access for PySAL (access)
long_description    {*}${description} provides classical and novel measures of \
                    spatial accessibility to services.
homepage            https://pysal.org/access/

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  0c6ec42e2529847d15cbeec63766a9be323e6414 \
                    sha256  3dbfbd7cc5a09d30ad314955d061fb46fd2d48ce1f84f15adc5b760bb8b4a34b \
                    size    4380817

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_run-append \
                    port:py${python.version}-requests \
                    port:py${python.version}-geopandas \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas
}
