# -*- 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.0
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     39 310 311 312 313

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  d7e4c3f7c9affc1da1d9d462495c13a3628e5d9a \
                    sha256  9d97c7c5dcf25f6c0599c76d9933368c6a8d7238f2c1d00e76f1a69369ca82a0 \
                    size    50789

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