# -*- 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.11.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 c326d54b6dbd4d4d2f0557b09c824259738b7156 \
sha256 85dbfe747e5b5aed1f1fd41ef5de0c0ab8322227ee308191a44fff12c59c197d \
size 5745395
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
variant spatial description "Add spatial support" {
depends_lib-append \
port:py${python.version}-geopandas \
port:py${python.version}-libpysal \
port:py${python.version}-matplotlib \
port:py${python.version}-shapely
}
default_variants +spatial
}