<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6eb8dc6aaea6f785d34ae193c250e8d26c2e1229">https://github.com/macports/macports-ports/commit/6eb8dc6aaea6f785d34ae193c250e8d26c2e1229</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6eb8dc6aaea6f785d34ae193c250e8d26c2e1229
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Jul 10 11:48:56 2017 -0700

<span style='display:block; white-space:pre;color:#404040;'>    libpeas: add variant +python36 and make it the python3 default
</span>---
 gnome/libpeas/Portfile | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libpeas/Portfile b/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 173c0b1..ff0df10 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup           gobject_introspection 1.0
</span> 
 name                libpeas
 version             1.20.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> license             LGPL-2
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         libpeas is a GObject-based plugins engine
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,7 +71,7 @@ default_variants +python27
</span> 
 # python3 minimum version is 3.2.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 conflicts python35 description {Enable Python 3.4 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python34 conflicts python35 python36 description {Enable Python 3.4 plugin support} {
</span>     depends_lib-append          port:py34-gobject3
     set python_prefix           ${frameworks_dir}/Python.framework/Versions/3.4
     configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,7 +81,7 @@ variant python34 conflicts python35 description {Enable Python 3.4 plugin suppor
</span>     configure.args-replace      --disable-python3 --enable-python3
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python34 description {Enable Python 3.5 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python34 python36 description {Enable Python 3.5 plugin support} {
</span>     depends_lib-append          port:py35-gobject3
     set python_prefix           ${frameworks_dir}/Python.framework/Versions/3.5
     configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -90,8 +91,18 @@ variant python35 conflicts python34 description {Enable Python 3.5 plugin suppor
</span>     configure.args-replace      --disable-python3 --enable-python3
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python35]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants +python34
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python34 python35 description {Enable Python 3.6 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append          port:py36-gobject3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set python_prefix           ${frameworks_dir}/Python.framework/Versions/3.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.python            ${prefix}/bin/python3.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.env-append        PYTHON3_CONFIG=${prefix}/bin/python3.6-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cflags-append     -L${python_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-replace      --disable-python3 --enable-python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python34] && ![variant_isset python35]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants +python36
</span> }
 
 # glade expects catalog modules and libraries to have a .so suffix
</pre><pre style='margin:0'>

</pre>