<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/ac7fb0fd9382a519c0e86231683ad96aaf200ca4">https://github.com/macports/macports-ports/commit/ac7fb0fd9382a519c0e86231683ad96aaf200ca4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ac7fb0fd9382a519c0e86231683ad96aaf200ca4
</span>Author: Andrew Stromnov <stromnov@macports.org>
AuthorDate: Thu Nov 1 14:37:03 2018 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-fiona: update to 1.8.0
</span>---
python/py-fiona/Portfile | 19 ++++++++++-------
python/py-fiona/files/patch-setup.py.diff | 34 -------------------------------
2 files changed, 12 insertions(+), 41 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-fiona/Portfile b/python/py-fiona/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ce95791..5b67c24 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-fiona/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-fiona/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-fiona
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.7.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.8.0
</span> revision 0
categories-append gis
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,19 +25,24 @@ master_sites pypi:F/Fiona
</span>
distname Fiona-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 17afff7d1ec4b371b150c29bc625175c138812e5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a156129f0904cb7eb24aa0745b6075da54f2c31db168ed3bcac8a4bd716d77b2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 731237
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 98489729c89d2a97a590ac616edc9353fe114615 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 20141a9ece06daa7bb4333fba640c2fe39a49f8aca5492d1da8595d41e91844a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1382681
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append port:py${python.version}-setuptools \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-six \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-attrs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-click \
</span> port:py${python.version}-cligj \
port:py${python.version}-click-plugins \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-six \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-munch \
</span> port:gdal
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} == 27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py${python.version}-enum34
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
} else {
livecheck.name Fiona
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-fiona/files/patch-setup.py.diff b/python/py-fiona/files/patch-setup.py.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index f19a812..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-fiona/files/patch-setup.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,34 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py.orig 2018-08-16 00:05:18.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py 2018-08-16 00:06:44.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -181,6 +181,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extra_link_args=extra_link_args,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ext_options_cpp = ext_options.copy()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+# GDAL 2.3+ requires C++11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if sys.platform == "win32":
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ext_options_cpp["extra_compile_args"] = ["/std:c++11"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+else:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ext_options_cpp["extra_compile_args"] = ["-std=c++11"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Define the extension modules.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ext_modules = []
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -207,7 +214,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ext_modules = cythonize([
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Extension('fiona._geometry', ['fiona/_geometry.pyx'], **ext_options),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- Extension('fiona._transform', ['fiona/_transform.pyx'], **ext_options),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ Extension('fiona._transform', ['fiona/_transform.pyx'], **ext_options_cpp),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Extension('fiona._crs', ['fiona/_crs.pyx'], **ext_options),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Extension('fiona._drivers', ['fiona/_drivers.pyx'], **ext_options),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Extension('fiona._err', ['fiona/_err.pyx'], **ext_options),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -217,7 +224,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # If there's no manifest template, as in an sdist, we just specify .c files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- elif "clean" not in sys.argv:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ext_modules = [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- Extension('fiona._transform', ['fiona/_transform.cpp'], **ext_options),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ Extension('fiona._transform', ['fiona/_transform.cpp'], **ext_options_cpp),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Extension('fiona._geometry', ['fiona/_geometry.c'], **ext_options),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Extension('fiona._crs', ['fiona/_crs.c'], **ext_options),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Extension('fiona._drivers', ['fiona/_drivers.c'], **ext_options),
</span></pre><pre style='margin:0'>
</pre>