# -*- 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
python.rootname     Rtree
version             0.9.7
revision            0
categories-append   devel
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27 35 36 37 38 39

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  2420ec2ad717dfbcae9a733ed452b400b232facb \
                    sha256  be8772ca34699a9ad3fb4cfe2cfb6629854e453c10b3328039301bbfc128ca3e \
                    size    44877

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools \
                        port:py${python.version}-wheel
    depends_lib-append  port:spatialindex

    livecheck.type      none
}
