[122348] trunk/dports/python/py-rtree
stromnov at macports.org
stromnov at macports.org
Mon Jul 21 05:15:13 PDT 2014
Revision: 122348
https://trac.macports.org/changeset/122348
Author: stromnov at macports.org
Date: 2014-07-21 05:15:13 -0700 (Mon, 21 Jul 2014)
Log Message:
-----------
py-rtree: update to version 0.8.0
Modified Paths:
--------------
trunk/dports/python/py-rtree/Portfile
trunk/dports/python/py-rtree/files/patch-rtree_core.py.diff
Modified: trunk/dports/python/py-rtree/Portfile
===================================================================
--- trunk/dports/python/py-rtree/Portfile 2014-07-21 10:40:56 UTC (rev 122347)
+++ trunk/dports/python/py-rtree/Portfile 2014-07-21 12:15:13 UTC (rev 122348)
@@ -5,14 +5,14 @@
PortGroup python 1.0
name py-rtree
-version 0.7.0
+version 0.8.0
revision 0
categories-append devel
platforms darwin
license LGPL
supported_archs noarch
-python.versions 26 27
+python.versions 26 27 33 34
maintainers stromnov openmaintainer
@@ -27,8 +27,8 @@
distname Rtree-${version}
-checksums rmd160 f55bb6acd901a24fae3823da7ebe71f5b8c68dae \
- sha256 cf95092f86e65a92164559e54f082433dcdf1bd3d1efe56f097c84d89e913a22
+checksums rmd160 873a3532cfbbcc708f3a2f7644ef234c7e445803 \
+ sha256 60b29b4b15b8108829355e5a51d5da43ab67ab55e1a47bc11f39be4e09087c32
if {${name} ne ${subport}} {
depends_lib-append port:spatialindex
@@ -38,6 +38,10 @@
patchfiles patch-rtree_core.py.diff
+ post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/rtree/core.py
+ }
+
livecheck.type none
} else {
livecheck.type regex
Modified: trunk/dports/python/py-rtree/files/patch-rtree_core.py.diff
===================================================================
--- trunk/dports/python/py-rtree/files/patch-rtree_core.py.diff 2014-07-21 10:40:56 UTC (rev 122347)
+++ trunk/dports/python/py-rtree/files/patch-rtree_core.py.diff 2014-07-21 12:15:13 UTC (rev 122348)
@@ -1,11 +1,11 @@
---- rtree/core.py.orig 2010-03-05 05:28:17.000000000 +0300
-+++ rtree/core.py 2010-04-13 23:37:25.000000000 +0400
-@@ -78,7 +78,7 @@
+--- rtree/core.py.orig 2014-07-19 12:00:42.000000000 +0400
++++ rtree/core.py 2014-07-21 15:41:48.000000000 +0400
+@@ -105,7 +105,7 @@
platform = os.uname()[0]
lib_name = 'libspatialindex_c.so'
if platform == 'Darwin':
- lib_name = 'libspatialindex_c.dylib'
-+ lib_name = find_library('libspatialindex_c.dylib')
- free = ctypes.CDLL(find_library('libc')).free
- else:
- free = ctypes.CDLL(find_library('libc.so.6')).free
++ lib_name = '@@PREFIX@@/lib/libspatialindex_c.dylib'
+ rt = ctypes.CDLL(lib_name)
+ free = ctypes.CDLL(None).free # None -> libc
+ else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140721/21ad553e/attachment.html>
More information about the macports-changes
mailing list