[103584] trunk/dports/python/py-shapely/Portfile

snc at macports.org snc at macports.org
Fri Mar 1 15:14:35 PST 2013


Revision: 103584
          https://trac.macports.org/changeset/103584
Author:   snc at macports.org
Date:     2013-03-01 15:14:35 -0800 (Fri, 01 Mar 2013)
Log Message:
-----------
py-shapely: update to 1.2.17, use py-cython optimizations

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

Modified: trunk/dports/python/py-shapely/Portfile
===================================================================
--- trunk/dports/python/py-shapely/Portfile	2013-03-01 22:41:12 UTC (rev 103583)
+++ trunk/dports/python/py-shapely/Portfile	2013-03-01 23:14:35 UTC (rev 103584)
@@ -3,9 +3,10 @@
 
 PortSystem      1.0
 PortGroup           python 1.0
+PortGroup           github 1.0
 
+github.setup        Toblerity Shapely 1.2.17
 name                py-shapely
-version             1.2.16
 python.versions     25 26 27
 python.default_version 27
 categories-append     devel
@@ -22,21 +23,21 @@
                 concerned with data formats or coordinate reference \
                 systems.
 
-homepage        http://trac.gispython.org/projects/PCL/wiki/Shapely
-master_sites    http://pypi.python.org/packages/source/S/Shapely/
-distname        Shapely-${version}
+master_sites    ${github.homepage}/archive/[join ${github.tag_prefix} ""]${github.version}
 
-checksums           rmd160  b7a7bd230eacb61187a85e62e90dad231e56c3f2 \
-                    sha256  06296b4f59c6399a30f86d345d661e005ed4b521a02ee4de0d39a3fc5497adef
+checksums           rmd160  97da472744bd5d150eda1445332f39a3bc614f2f \
+                    sha256  a0851e964d7265829708dad4530bf17f579c1f9207603c3e1d5c9a1ac9022aab
 
 if {$name != $subport} {
     depends_lib-append      port:geos
-    depends_build-append    port:py${python.version}-distribute
+    depends_build-append    port:py${python.version}-cython \
+                            port:py${python.version}-distribute
 
     patchfiles      patch-shapely_geos.py.diff
 
     post-patch {
             reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/geos.py
+            reinplace s|\\\"cython\\\"|"${python.prefix}/bin/cython"| ${worksrcpath}/setup.py
     }
 
     livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130301/7ae72c2e/attachment.html>


More information about the macports-changes mailing list