<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/0f11947063c572e7f86638b9c18127f44a2868cc">https://github.com/macports/macports-ports/commit/0f11947063c572e7f86638b9c18127f44a2868cc</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 0f11947  rsgislib: add a python 3.7 variant
</span>0f11947 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 0f11947063c572e7f86638b9c18127f44a2868cc
</span>Author: Veence <vince@macports.org>
AuthorDate: Tue Nov 20 08:16:34 2018 +0100

<span style='display:block; white-space:pre;color:#404040;'>    rsgislib: add a python 3.7 variant
</span>---
 gis/rsgislib/Portfile | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/rsgislib/Portfile b/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 251f137..caea2a4 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,9 +33,9 @@ depends_lib-append  port:gdal \
</span>                     port:muparser
 
 if {![variant_isset python27] && ![variant_isset python35] && \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    ![variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ![variant_isset python36] && ![variant_isset python37]} {
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants +python36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants +python37
</span> }
 
 patchfiles          patch-CMakeLists.txt.diff \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,7 +75,7 @@ configure.args-append   -DBOOST_INCLUDE_DIR=${prefix}/include \
</span>                         -DXERCESC_LIB_PATH=${prefix}/lib
 
 variant python27 description {Build with Python 2.7 bindings} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                 conflicts python35 python36 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 conflicts python35 python36 python37 {
</span> 
     depends_build-append    port:py27-numpy
     configure.args-append   -DPYTHON_EXE=${prefix}/bin/python2.7
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -83,7 +83,7 @@ variant python27 description {Build with Python 2.7 bindings} \
</span> }
 
 variant python35 description {Build with Python 3.5 bindings} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                 conflicts python27 python36 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 conflicts python27 python36 python37 {
</span> 
     depends_build-append    port:py35-numpy
     configure.args-append   -DPYTHON_EXE=${prefix}/bin/python3.5
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,9 +91,17 @@ variant python35 description {Build with Python 3.5 bindings} \
</span> }
 
 variant python36 description {Build with Python 3.6 bindings} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                 conflicts python27 python35 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 conflicts python27 python35 python37 {
</span> 
     depends_build-append    port:py36-numpy
     configure.args-append   -DPYTHON_EXE=${prefix}/bin/python3.6
     configure.args-append   -DPYTHON_INSTALL_PREFIX=${destroot}${frameworks_dir}/Python.framework/Versions/3.6/
 }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 description {Build with Python 2.7 bindings} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 conflicts python35 python36 python27 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_build-append    port:py37-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append   -DPYTHON_EXE=${prefix}/bin/python3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append   -DPYTHON_INSTALL_PREFIX=${destroot}${frameworks_dir}/Python.framework/Versions/3.7/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>

</pre>