<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/a36511c4a28301ebb5b659b50d3676bf50f4ade6">https://github.com/macports/macports-ports/commit/a36511c4a28301ebb5b659b50d3676bf50f4ade6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a36511c4a28301ebb5b659b50d3676bf50f4ade6
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Thu Oct 11 12:27:24 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> gedit-plugins: add +python37 variant
</span>---
gnome/gedit-plugins/Portfile | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 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 f989ca5..8db1932 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;'>@@ -51,7 +51,7 @@ configure.args --disable-python \
</span> --disable-silent-rules \
--disable-schemas-compile
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python36 description {Use python 3.5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python36 python37 description {Use python 3.5} {
</span> depends_lib-append port:py35-gobject3 \
port:dbus-python35
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,7 +61,7 @@ variant python35 conflicts python36 description {Use python 3.5} {
</span> configure.args-replace --disable-python --enable-python
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python35 description {Use python 3.6} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python35 python37 description {Use python 3.6} {
</span> depends_lib-append port:py36-gobject3 \
port:dbus-python36
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -71,7 +71,17 @@ variant python36 conflicts python35 description {Use python 3.6} {
</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:#e0ffe0;'>+variant python37 conflicts python35 python36 description {Use python 3.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py37-gobject3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dbus-python37
</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.7
</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 python35] && ![variant_isset python37]} {
</span> default_variants +python36
}
</pre><pre style='margin:0'>
</pre>