[82594] trunk/dports/python

snc at macports.org snc at macports.org
Tue Aug 16 07:49:43 PDT 2011


Revision: 82594
          http://trac.macports.org/changeset/82594
Author:   snc at macports.org
Date:     2011-08-16 07:49:41 -0700 (Tue, 16 Aug 2011)
Log Message:
-----------
py-shapely:
 * unify
 * update to 1.2.12
 * replace landonf with permission

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

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

Removed Paths:
-------------
    trunk/dports/python/py25-shapely/
    trunk/dports/python/py26-shapely/
    trunk/dports/python/py27-shapely/

Modified: trunk/dports/python/py-shapely/Portfile
===================================================================
--- trunk/dports/python/py27-shapely/Portfile	2011-08-16 14:31:00 UTC (rev 82593)
+++ trunk/dports/python/py-shapely/Portfile	2011-08-16 14:49:41 UTC (rev 82594)
@@ -2,10 +2,12 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       python27 1.0
+PortGroup           python 1.0
 
-name            py27-shapely
-version         1.2.11
+name                py-shapely
+version             1.2.12
+python.versions     25 26 27
+python.default_version 27
 categories      python devel
 platforms       darwin
 maintainers     snc openmaintainer
@@ -22,18 +24,19 @@
 homepage        http://trac.gispython.org/projects/PCL/wiki/Shapely
 master_sites    http://pypi.python.org/packages/source/S/Shapely/
 distname        Shapely-${version}
-dist_subdir     python
 
-depends_lib-append      port:geos
-depends_build-append    port:py27-distribute
+checksums           rmd160  5b4a9ca4a7e58a808924891a4986af351682c473 \
+                    sha256  8265094e9bebf0ab0957f0dc12ac320c226d457726f08bcd3295d1a6f6d3e6e7
 
-checksums           rmd160  c4d2e9674757118b0a5520ac9b6e11fe801c8683 \
-                    sha256  233c566ce9f14a7e01933ea5705926ecf1931a5085f471f2194bff49a9c47d71
+if {$name != $subport} {
+    depends_lib-append      port:geos
+    depends_build-append    port:py${python.version}-distribute
 
-patchfiles      patch-shapely_geos.py.diff
+    patchfiles      patch-shapely_geos.py.diff
 
-post-patch {
-        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/geos.py
+    post-patch {
+            reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/geos.py
+    }
 }
 
 livecheck.url           http://pypi.python.org/packages/source/S/Shapely/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110816/e7d41888/attachment.html>


More information about the macports-changes mailing list