Ticket #19598: Portfile

File Portfile, 1.8 KB (added by voldmar@…, 15 years ago)
Line 
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
4PortSystem 1.0
5PortGroup python26 1.0
6
7name            py26-quadtree
8version         0.1.2
9revision        1
10categories      python
11platforms       darwin
12maintainers     mcalhoun openmaintainer
13description     Quadtree
14long_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
25homepage        http://trac.gispython.org/projects/PCL/wiki/QuadTree
26master_sites    http://pypi.python.org/packages/source/Q/Quadtree/
27distname        Quadtree-${version}
28checksums \
29    md5 2ace3a8077e4b456e74fc2be870c71f1 \
30    sha1 be2cdbe1322e381fd4f333d570462a3767bfeb7c \
31    rmd160 dd32d7bca2acbd3295a407a7d3f5e40c994821d3
32
33depends_build port:py26-setuptools
34
35# See http://trac.gispython.org/lab/ticket/110
36patchfiles      patch-quadtree-_treemodule.c.diff
37
38post-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
45livecheck.check regex
46livecheck.url "http://pypi.python.org/packages/source/Q/Quadtree/?C=M;O=D"
47livecheck.regex Quadtree-(\\d+(?:\\.\\d+)*)${extract.suffix}