<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/068f79a9283b8db831ec5ca337be46dbf98ef0ed">https://github.com/macports/macports-ports/commit/068f79a9283b8db831ec5ca337be46dbf98ef0ed</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 068f79a9283b8db831ec5ca337be46dbf98ef0ed
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Jul 10 12:06:38 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> gedit: add variant +python36 and make it the default
</span>---
gnome/gedit/Portfile | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gedit/Portfile b/gnome/gedit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1a84f17..3dddbfe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gedit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gedit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,6 +7,7 @@ PortGroup gobject_introspection 1.0
</span>
name gedit
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 GNOME editor.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,7 +71,7 @@ configure.args --disable-python \
</span>
# minimum python version is 3.2.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 conflicts 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
configure.python ${prefix}/bin/python3.4
set python_framework ${frameworks_dir}/Python.framework/Versions/3.4
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,7 +79,7 @@ variant python34 conflicts 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 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
configure.python ${prefix}/bin/python3.5
set python_framework ${frameworks_dir}/Python.framework/Versions/3.5
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,6 +87,14 @@ variant python35 conflicts description {Use python 3.5} {
</span> configure.args-replace --disable-python --enable-python
}
<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;'>+ 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> variant quartz {}
if {[variant_isset quartz]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -99,8 +108,8 @@ if {[variant_isset quartz]} {
</span> depends_run-append port:yelp
}
<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;'>+if {![variant_isset python34] && ![variant_isset python35]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python36
</span> }
notes "For extra functionality install gedit-plugins"
</pre><pre style='margin:0'>
</pre>