# -*- 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-mapclassify
version             2.10.0
revision            0

categories-append   gis
license             BSD
maintainers         nomaintainer
description         Classification Schemes for Choropleth Maps
long_description    mapclassify is an open-source python library for Choropleth map \
                    classification. It is part of PySAL the Python Spatial Analysis \
                    Library.
homepage            https://pysal.org/mapclassify/

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  90bf8f3b18ef608d1b20ee47ed2c30693b93a3c7 \
                    sha256  0d6736a08c0b1e10e6197224ef512951514204706514244bd01aea49fd1442b3 \
                    size    6172445

python.versions     310 311 312 313 314

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

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