# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name py25-quadtree version 0.1.2 revision 1 categories python platforms darwin maintainers mcalhoun openmaintainer description Quadtree long_description \ Quadtree: \ Whether for PCL in-memory feature stores, Plone content, or whatever \ -- we need a simple spatial index to speed up retrieval of objects \ that intersect with a given bounding box. \ The simplest, most tried-and-true, open source spatial index is \ shapelib's (http://shapelib.maptools.org) quadtree. It's been \ improving the performance of MapServer applications for years. The \ quadtree itself is completely separable from any shapefile. We can use \ it with arbitrary Python object collections. homepage http://trac.gispython.org/projects/PCL/wiki/QuadTree master_sites http://pypi.python.org/packages/source/Q/Quadtree/ distname Quadtree-${version} checksums \ md5 2ace3a8077e4b456e74fc2be870c71f1 \ sha1 be2cdbe1322e381fd4f333d570462a3767bfeb7c \ rmd160 dd32d7bca2acbd3295a407a7d3f5e40c994821d3 depends_build port:py25-distribute # See http://trac.gispython.org/lab/ticket/110 patchfiles patch-quadtree-_treemodule.c.diff post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} eval xinstall -m 644 ${worksrcpath}/PKG-INFO \ [glob ${worksrcpath}/*.txt] \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url "http://pypi.python.org/packages/source/Q/Quadtree/?C=M;O=D" livecheck.regex Quadtree-(\\d+(?:\\.\\d+)*)${extract.suffix}