<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/024427469284b82e9ceefaab1ef776db7bfb98cf">https://github.com/macports/macports-ports/commit/024427469284b82e9ceefaab1ef776db7bfb98cf</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 024427469284b82e9ceefaab1ef776db7bfb98cf
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Jul 10 12:14:00 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> gedit-plugins: add variant +python36 and make it the default
</span>---
gnome/gedit-plugins/Portfile | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gedit-plugins/Portfile b/gnome/gedit-plugins/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c44acfc..9b81306 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gedit-plugins/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gedit-plugins/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
name gedit-plugins
version 3.22.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> license GPL-2+
set branch [join [lrange [split ${version} .] 0 1] .]
description Plug-ins for GEdit
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +51,7 @@ configure.args --disable-python \
</span> --disable-silent-rules \
--disable-schemas-compile
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 conflicts python35 description {Use python 3.4} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python34 conflicts python35 python36 description {Use python 3.4} {
</span> depends_lib-append port:py34-gobject3 \
port:dbus-python34
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +61,7 @@ variant python34 conflicts python35 description {Use python 3.4} {
</span> configure.args-replace --disable-python --enable-python
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python34 description {Use python 3.5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python34 python36 description {Use python 3.5} {
</span> depends_lib-append port:py35-gobject3 \
port:dbus-python35
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,8 +71,18 @@ variant python35 conflicts python34 description {Use python 3.5} {
</span> configure.args-replace --disable-python --enable-python
}
<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 {Use python 3.6} {
</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;'>+ port:dbus-python36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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;'>+ set python_framework ${frameworks_dir}/Python.framework/Versions/3.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path ${python_framework}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-python --enable-python
</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> }
post-activate {
</pre><pre style='margin:0'>
</pre>