source: trunk/dports/python/py-quadtree/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
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 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name            py-quadtree
8version         0.1.2
9revision        1
10license         BSD MIT
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    pypi:Q/Quadtree/
27distname        Quadtree-${version}
28checksums \
29    md5 2ace3a8077e4b456e74fc2be870c71f1 \
30    sha1 be2cdbe1322e381fd4f333d570462a3767bfeb7c \
31    rmd160 dd32d7bca2acbd3295a407a7d3f5e40c994821d3
32
33python.versions 26 27
34
35if {${name} ne ${subport}} {
36    depends_build port:py${python.version}-setuptools
37
38    # See http://trac.gispython.org/lab/ticket/110
39    patchfiles      patch-quadtree-_treemodule.c.diff
40
41    post-destroot {
42        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}
43        eval xinstall -m 644 ${worksrcpath}/PKG-INFO \
44            [glob ${worksrcpath}/*.txt] \
45            ${destroot}${prefix}/share/doc/${subport}
46    }
47    livecheck.type  none
48} else {
49    livecheck.type  regex
50    livecheck.url "http://pypi.python.org/packages/source/Q/Quadtree/?C=M;O=D"
51    livecheck.regex Quadtree-(\\d+(?:\\.\\d+)*)${extract.suffix}
52}
Note: See TracBrowser for help on using the repository browser.