<pre style='margin:0'>
Vincent (Veence) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b35a0526cd7fb7e0c897d1c92d08ddea6e3232af">https://github.com/macports/macports-ports/commit/b35a0526cd7fb7e0c897d1c92d08ddea6e3232af</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new b35a052 qgis3: enable Python bindings and processing module
</span>b35a052 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b35a0526cd7fb7e0c897d1c92d08ddea6e3232af
</span>Author: Veence <vince@macports.org>
AuthorDate: Thu Dec 7 08:38:52 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> qgis3: enable Python bindings and processing module
</span>---
gis/qgis3/Portfile | 13 ++++++++++++-
gis/qgis3/files/patch-FindPyQt5_py.diff | 11 +++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/qgis3/Portfile b/gis/qgis3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6cac30e..3a63792 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/qgis3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/qgis3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +24,8 @@ use_parallel_build no
</span> homepage http://www.qgis.org/
patchfiles patch-app_info_plist_in.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-CMakelists_txt.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-CMakelists_txt.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-FindPyQt5_py.diff
</span>
checksums rmd160 a3d9d07479c61da4ce96e6e645eaf9a23c294c65 \
sha256 61d69356a7c53b201d733c1eb6e366c13f181bc022a7429fc17e38418e07bec0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,6 +49,8 @@ depends_lib-append port:libiconv \
</span> port:qt5-qtwebkit \
port:qt5-qtscript \
port:qt5-sqlite-plugin \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:qt5-qtscxml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:qt5-qtxmlpatterns \
</span> port:qca-qt5 \
port:qca-qt5-ossl \
port:qtkeychain-qt5 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,6 +69,9 @@ post-patch {
</span> reinplace -E "s|@@@|${prefix}|g" \
${worksrcpath}/mac/app.info.plist.in
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|@@@|${frameworks_dir}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/cmake/FindPyQt5.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Handle legacy OS/XCode
if {[vercmp $xcodeversion 4.6.3] <= 0} {
configure.compiler llvm-gcc-4.2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -156,6 +162,11 @@ foreach pyver ${python_suffixes} {
</span> port:py${pyver}-requests
configure.args-append -DPYTHON_EXECUTABLE=${prefix}/bin/python${pyversion}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DWITH_BINDINGS=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPYUIC_PROGRAM=${prefix}/bin/pyuic5-${pyversion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPYRCC_PROGRAM=${prefix}/bin/pyrcc5-${pyversion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DPYQT5_SIP_DIR=\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${frameworks_dir}/Python.framework/Versions/${pyversion}/share/sip/PyQt5
</span> "
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/qgis3/files/patch-FindPyQt5_py.diff b/gis/qgis3/files/patch-FindPyQt5_py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6c764d4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/qgis3/files/patch-FindPyQt5_py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/FindPyQt5.py.orig 2017-12-07 07:54:53.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/FindPyQt5.py 2017-12-07 07:56:08.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -38,7 +38,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import sipconfig # won't work for SIP v5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import os.path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cfg = sipconfig.Configuration()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sip_dir = cfg.default_sip_dir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ sip_dir = "@@@/Python.framework/Versions/3.6/share/sip"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for p in (os.path.join(sip_dir, "PyQt5"), sip_dir):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if os.path.exists(os.path.join(p, "QtCore", "QtCoremod.sip")):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sip_dir = p
</span></pre><pre style='margin:0'>
</pre>