<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/57aa392cd231770f351e67872f1cec5b92cec7a5">https://github.com/macports/macports-ports/commit/57aa392cd231770f351e67872f1cec5b92cec7a5</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 57aa392  weechat: update to 2.1
</span>57aa392 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 57aa392cd231770f351e67872f1cec5b92cec7a5
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Tue Jun 12 13:24:41 2018 +0000

<span style='display:block; white-space:pre;color:#404040;'>    weechat: update to 2.1
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    * update Python 3.x variant
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/55465
</span>---
 irc/weechat/Portfile | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/irc/weechat/Portfile b/irc/weechat/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 289cd92..e05c737 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/irc/weechat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/irc/weechat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,10 +9,11 @@ name                weechat
</span> 
 if {${name} eq ${subport}} {
     conflicts       weechat-devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    github.setup    weechat weechat 1.9.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    github.setup    weechat weechat 2.1 v
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    checksums       rmd160  d06d3a53c554bbeb5056780962bed821c29c406c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  f5571251e185afc71cac985e1f7a9e59585de24fb91cf57092d01c4a8a284c48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    checksums       rmd160  c7067497e3713a96d3e4a97dc1ad60207e7a2df1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  1b71969382fe7e37a5a12b87a27146274fb652731dc2958614e3b148256f0af0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    4018164
</span> }
 
 subport weechat-devel {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,7 +73,7 @@ configure.args-append \
</span> 
 variant python requires python27 description {Compatibility variant, requires +python27} {}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 description "Bindings for python 2.7 plugins" conflicts python34 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 description "Bindings for python 2.7 plugins" conflicts python36 {
</span>     configure.args-replace  -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
     configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7
     configure.args-append   -DPYTHON_INCLUDE_PATH=${frameworks_dir}/Python.framework/Versions/2.7/Headers
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,25 +81,25 @@ variant python27 description "Bindings for python 2.7 plugins" conflicts python3
</span>     depends_lib-append      port:python27
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 description "Bindings for python 3.4 plugins" conflicts python27 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 description "Bindings for python 3.6 plugins" conflicts python27 {
</span>     configure.args-replace  -DENABLE_PYTHON=OFF -DENABLE_PYTHON=ON
     configure.args-replace  -DENABLE_PYTHON3=OFF -DENABLE_PYTHON3=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-append   -DPYTHON_INCLUDE_PATH=${frameworks_dir}/Python.framework/Versions/3.4/Headers
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-append   -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/3.4/Python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append      port:python34
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python3.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append   -DPYTHON_INCLUDE_PATH=${frameworks_dir}/Python.framework/Versions/3.6/Headers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append   -DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/3.6/Python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append      port:python36
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # From http://weechat.org/files/doc/stable/weechat_user.en.html#dependencies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    notes "Recommended Python version is 2.7 (all scripts run fine with version 2.7, but not with versions ≤ 2.6 or ≥ 3.0)."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # From https://weechat.org/files/doc/stable/weechat_user.en.html#dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    notes "Recommended Python version is 2.7 (all scripts run fine with version 2.7, but not with versions < 2.7 or ≥ 3.0)."
</span> }
 
 post-configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {[variant_isset python27] || [variant_isset python34]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[variant_isset python27] || [variant_isset python36]} {
</span>         set patchfile ${configure.dir}/src/plugins/python/CMakeFiles/python.dir/link.txt
 
         reinplace -E "s| \(Python.framework\)| ${frameworks_dir}/\\1|g" ${patchfile}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if {[variant_isset python34]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {[variant_isset python36]} {
</span>             reinplace -E "s|-Wl,-stack_size,1000000||" ${patchfile}
         }
     }
</pre><pre style='margin:0'>

</pre>