[58003] trunk/dports/python

snc at macports.org snc at macports.org
Sun Sep 20 10:11:43 PDT 2009


Revision: 58003
          http://trac.macports.org/changeset/58003
Author:   snc at macports.org
Date:     2009-09-20 10:11:39 -0700 (Sun, 20 Sep 2009)
Log Message:
-----------
created py26-shapely, ticket #21454. added missing dependency on setuptools, took openmaintainership.

Added Paths:
-----------
    trunk/dports/python/py26-shapely/
    trunk/dports/python/py26-shapely/Portfile
    trunk/dports/python/py26-shapely/files/
    trunk/dports/python/py26-shapely/files/patch-shapely_geos.py.diff

Added: trunk/dports/python/py26-shapely/Portfile
===================================================================
--- trunk/dports/python/py26-shapely/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-shapely/Portfile	2009-09-20 17:11:39 UTC (rev 58003)
@@ -0,0 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem      1.0
+PortGroup       python26 1.0
+
+name            py26-shapely
+version         1.0.12
+categories      python devel
+platforms       darwin
+maintainers     snc openmaintainer
+description     Shapely is a Python package for manipulation \
+                and analysis of 2D geospatial geometries
+
+long_description \
+                Shapely is a Python package for manipulation and \
+                analysis of 2D geospatial geometries. It is based on \
+                GEOS (http://geos.refractions.net). Shapely 1.0 is not \
+                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}
+
+depends_lib-append  port:python26 \
+                    port:geos \
+                    port:py26-setuptools
+
+checksums       md5     0122c53ec3ba1c4b805afce43d0aa039 \
+                sha1    f7180a0428f8e7290362e1b4abd088a6c3ba361e \
+                rmd160  06b28ab318456c2a7b27bd1b2a23985da7466f6b
+
+patchfiles      patch-shapely_geos.py.diff
+
+post-patch {
+        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/shapely/geos.py
+}


Property changes on: trunk/dports/python/py26-shapely/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/python/py26-shapely/files/patch-shapely_geos.py.diff
===================================================================
--- trunk/dports/python/py26-shapely/files/patch-shapely_geos.py.diff	                        (rev 0)
+++ trunk/dports/python/py26-shapely/files/patch-shapely_geos.py.diff	2009-09-20 17:11:39 UTC (rev 58003)
@@ -0,0 +1,15 @@
+--- shapely/geos.py.orig	2009-09-17 19:01:35.000000000 +0400
++++ shapely/geos.py	2009-09-17 19:02:28.000000000 +0400
+@@ -27,10 +27,10 @@
+     if lib is None:
+         ## try a few more locations
+         lib_paths = [
++            # local macports
++            '@PREFIX@/lib/libgeos_c.dylib',
+             # The Framework build from Kyng Chaos:
+             "/Library/Frameworks/GEOS.framework/Versions/Current/GEOS",
+-            # macports
+-            '/opt/local/lib/libgeos_c.dylib',
+         ]
+         for path in lib_paths:
+             if os.path.exists(path):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090920/99b450ec/attachment.html>


More information about the macports-changes mailing list