# -*- 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-rtree
version             1.4.1
revision            0
categories-append   devel
license             MIT
# The wheels provided upstream are platform- and arch-specific because
# they include spatialindex, but the module itself is pure python.
supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         R-Tree spatial index for Python GIS

long_description    Rtree is a Python library that uses ctypes and an  \
                    internally built C API to wrap libspatialindex and \
                    provide very flexible spatial indexing.

homepage            https://github.com/Toblerity/rtree

checksums           rmd160  141efd716942027143ed7251d2d09b74c82d7ca0 \
                    sha256  c6b1b3550881e57ebe530cc6cffefc87cd9bf49c30b37b894065a9f810875e46 \
                    size    52425

if {${name} ne ${subport}} {
    depends_lib-append  port:spatialindex
}
