Py26-quadtree version 0.1.2 - How to Download and Install on Mac OS X
Wednesday the 17th of March, 2010

    py26-quadtree  most recent diff


    version 0.1.2

      View the most recent changes for the py26-quadtree port at: py26-quadtree.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for py26-quadtree.
      The raw portfile for py26-quadtree 0.1.2 is located here:
      http://py26-quadtree.darwinports.com/dports/python/py26-quadtree/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/py26-quadtree


      # -*- 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
      The py26-quadtree Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup python26 1.0

      Name: py26-quadtree
      Version: 0.1.2
      Category: python
      Platform: darwin
      Maintainers: nomaintainer
      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:py26-setuptools

      # See http://trac.gispython.org/lab/ticket/110
      Patch Files: 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}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/py26-quadtree
      % sudo port install py26-quadtree
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching py26-quadtree
      ---> Verifying checksum for py26-quadtree
      ---> Extracting py26-quadtree
      ---> Configuring py26-quadtree
      ---> Building py26-quadtree with target all
      ---> Staging py26-quadtree into destroot
      ---> Installing py26-quadtree
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using py26-quadtree with these commands:
      %  man py26-quadtree
      % apropos py26-quadtree
      % which py26-quadtree
      % locate py26-quadtree

     Where to find more information:

    Darwin Ports



    Lightbox this page.