[88604] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Thu Jan 5 12:42:56 PST 2012


Revision: 88604
          http://trac.macports.org/changeset/88604
Author:   stromnov at macports.org
Date:     2012-01-05 12:42:56 -0800 (Thu, 05 Jan 2012)
Log Message:
-----------
py-rtree: unified port

Modified Paths:
--------------
    trunk/dports/python/py-rtree/Portfile

Added Paths:
-----------
    trunk/dports/python/py-rtree/

Removed Paths:
-------------
    trunk/dports/python/py26-rtree/

Modified: trunk/dports/python/py-rtree/Portfile
===================================================================
--- trunk/dports/python/py26-rtree/Portfile	2012-01-05 19:42:17 UTC (rev 88599)
+++ trunk/dports/python/py-rtree/Portfile	2012-01-05 20:42:56 UTC (rev 88604)
@@ -2,12 +2,16 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-rtree
+name                py-rtree
 version             0.6.0
+revision            0
 categories          python devel
+license             LGPL
 platforms           darwin
+supported_archs     noarch
+
 maintainers         stromnov openmaintainer
 
 description         R-Tree spatial index for Python GIS
@@ -18,19 +22,26 @@
 
 homepage            http://trac.gispython.org/lab/wiki/Rtree
 master_sites        http://pypi.python.org/packages/source/R/Rtree/
+
 distname            Rtree-${version}
 
-depends_lib-append  port:spatialindex
-
-depends_build-append \
-                    port:py26-distribute
-
 checksums           md5     5edbb1bd9923fcaeae05a678fd74c9a1 \
                     sha1    1564ee6051767481f5acd8f5e09547f709ebe06a \
                     rmd160  5251d9c823ccc585ed441ab59d3ad67344ad989f
 
-patchfiles          patch-rtree_core.py.diff
+python.default_version  27
+python.versions     26 27
 
+if {$subport != $name} {
+    depends_lib-append \
+                    port:spatialindex
+
+    depends_build-append \
+                    port:py${python.version}-distribute
+
+    patchfiles          patch-rtree_core.py.diff
+}
+
 livecheck.type      regex
 livecheck.url       ${master_sites}
 livecheck.regex     "Rtree-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120105/d50e00d6/attachment.html>


More information about the macports-changes mailing list