1 | # -*- 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 |
---|
2 | # $Id: Portfile 50441 2009-05-01 00:52:08Z mcalhoun@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name py26-quadtree |
---|
8 | version 0.1.2 |
---|
9 | revision 1 |
---|
10 | categories python |
---|
11 | platforms darwin |
---|
12 | maintainers mcalhoun openmaintainer |
---|
13 | description Quadtree |
---|
14 | long_description \ |
---|
15 | Quadtree: \ |
---|
16 | Whether for PCL in-memory feature stores, Plone content, or whatever \ |
---|
17 | -- we need a simple spatial index to speed up retrieval of objects \ |
---|
18 | that intersect with a given bounding box. \ |
---|
19 | The simplest, most tried-and-true, open source spatial index is \ |
---|
20 | shapelib's (http://shapelib.maptools.org) quadtree. It's been \ |
---|
21 | improving the performance of MapServer applications for years. The \ |
---|
22 | quadtree itself is completely separable from any shapefile. We can use \ |
---|
23 | it with arbitrary Python object collections. |
---|
24 | |
---|
25 | homepage http://trac.gispython.org/projects/PCL/wiki/QuadTree |
---|
26 | master_sites http://pypi.python.org/packages/source/Q/Quadtree/ |
---|
27 | distname Quadtree-${version} |
---|
28 | checksums \ |
---|
29 | md5 2ace3a8077e4b456e74fc2be870c71f1 \ |
---|
30 | sha1 be2cdbe1322e381fd4f333d570462a3767bfeb7c \ |
---|
31 | rmd160 dd32d7bca2acbd3295a407a7d3f5e40c994821d3 |
---|
32 | |
---|
33 | depends_build port:py26-setuptools |
---|
34 | |
---|
35 | # See http://trac.gispython.org/lab/ticket/110 |
---|
36 | patchfiles patch-quadtree-_treemodule.c.diff |
---|
37 | |
---|
38 | post-destroot { |
---|
39 | xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} |
---|
40 | eval xinstall -m 644 ${worksrcpath}/PKG-INFO \ |
---|
41 | [glob ${worksrcpath}/*.txt] \ |
---|
42 | ${destroot}${prefix}/share/doc/${name} |
---|
43 | } |
---|
44 | |
---|
45 | livecheck.check regex |
---|
46 | livecheck.url "http://pypi.python.org/packages/source/Q/Quadtree/?C=M;O=D" |
---|
47 | livecheck.regex Quadtree-(\\d+(?:\\.\\d+)*)${extract.suffix} |
---|