<pre style='margin:0'>
Andrew Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4e0769f5bbb6fa81982dbe4fb94f00ffa4632554">https://github.com/macports/macports-ports/commit/4e0769f5bbb6fa81982dbe4fb94f00ffa4632554</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4e0769f5bbb6fa81982dbe4fb94f00ffa4632554
</span>Author: Andrew Stromnov <stromnov@gmail.com>
AuthorDate: Sun Dec 18 16:59:14 2016 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-rtree: update to version 0.8.3
</span>---
python/py-rtree/Portfile | 24 ++++++------------------
python/py-rtree/files/patch-rtree_core.py.diff | 11 -----------
2 files changed, 6 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-rtree/Portfile b/python/py-rtree/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8c6aa91..2149fc1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-rtree/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-rtree/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +1,17 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
PortGroup python 1.0
name py-rtree
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.8.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.8.3
</span> revision 0
categories-append devel
platforms darwin
license LGPL
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35
</span>
maintainers stromnov openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,28 +22,17 @@ long_description Rtree is a Python library that uses ctypes and an \
</span> provide very flexible spatial indexing.
homepage http://trac.gispython.org/lab/wiki/Rtree
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:R/Rtree/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:R/Rtree
</span>
distname Rtree-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 48852349c92ac97e85fc2586969584fc540e819c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 064ecd9791fe170a8492f4ae75b0cbe8e62b5392f136a159a24d1b70c86d3c3f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b1c530f8c8b14c3d5dd923298b01ca5945952ef3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6cb9cf3000963ea6a3db777a597baee2bc55c4fc891e4f1967f262cc96148649
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:spatialindex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build-append \
port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-rtree_core.py.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/rtree/core.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:spatialindex
</span>
livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url https://pypi.python.org/pypi/rtree/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex {Rtree-(\d+(?:\.\d+)*).[tz]}
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-rtree/files/patch-rtree_core.py.diff b/python/py-rtree/files/patch-rtree_core.py.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 60e3030..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-rtree/files/patch-rtree_core.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- rtree/core.py.orig 2014-11-04 14:14:05.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ rtree/core.py 2014-11-04 14:20:22.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -103,6 +103,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- elif os.name == 'posix':
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- platform = os.uname()[0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lib_name = find_library('spatialindex_c')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if not lib_name and platform == 'Darwin':
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ lib_name = '@PREFIX@/lib/libspatialindex_c.dylib'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rt = ctypes.CDLL(lib_name)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- raise RTreeError('Unsupported OS "%s"' % os.name)
</span></pre><pre style='margin:0'>
</pre>