# -*- 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-giddy
version             2.3.6
revision            0

categories-append   gis

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         GeospatIal Distribution DYnamics (giddy)
long_description    {*}${description}  is an open-source python library for \
                    exploratory spatiotemporal data analysis and the analysis \
                    of geospatial distribution dynamics.

homepage            https://pysal.org/giddy/

checksums           rmd160  62b09e54d644d30456a02fc3916b32cf907bd283 \
                    sha256  004ec587eb7b75d9f717efd9b018a9f95f55d30d9768e2bb9cdb86ae7bdb7592 \
                    size    11166266

python.versions     39 310 311 312 313

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

    depends_run-append \
                    port:py${python.version}-esda \
                    port:py${python.version}-libpysal \
                    port:py${python.version}-mapclassify \
                    port:py${python.version}-quantecon \
                    port:py${python.version}-scipy
                    
    if {${python.version} == 39} {
        version     2.3.5
        checksums   rmd160  ba67afbc6ba689631268444f203999de64e73b54 \
                    sha256  e2b87b003aea7bff67095e152f23cafb9d26f08193e383538709777d3ba9940b \
                    size    11165667

        depends_run-delete  port:py${python.version}-mapclassify
    }                    
}
