<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/75ca3381d1e4c6c03891c5825011e3124cc8956b">https://github.com/macports/macports-ports/commit/75ca3381d1e4c6c03891c5825011e3124cc8956b</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 75ca338 libgit2-glib: add +python37 variant
</span>75ca338 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 75ca3381d1e4c6c03891c5825011e3124cc8956b
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Thu Oct 11 12:58:36 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> libgit2-glib: add +python37 variant
</span>---
gnome/libgit2-glib/Portfile | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libgit2-glib/Portfile b/gnome/libgit2-glib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3921aed..86ba55a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libgit2-glib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/libgit2-glib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,7 +49,7 @@ configure.args --disable-silent-rules \
</span>
# requires python >= 3.2.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python36 description {Enable Python support, using python35} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python36 python37 description {Enable Python support, using python35} {
</span> configure.args-delete --enable-python=no
configure.args-append --enable-python=yes
depends_lib-append port:py35-gobject3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,7 +57,7 @@ variant python35 conflicts python36 description {Enable Python support, using py
</span> configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.5/lib/pkgconfig/
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python35 description {Enable Python support, using python36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python35 python37 description {Enable Python support, using python36} {
</span> configure.args-delete --enable-python=no
configure.args-append --enable-python=yes
depends_lib-append port:py36-gobject3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -65,7 +65,15 @@ variant python36 conflicts python35 description {Enable Python support, using py
</span> configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.6/lib/pkgconfig/
}
<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 {Enable Python support, using python37} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --enable-python=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-python=yes
</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;'>+ configure.python ${prefix}/bin/python3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.7/lib/pkgconfig/
</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>