<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/27d60ebe3b4f90f57f1ce0d6f8c1f366d322e5f4">https://github.com/macports/macports-ports/commit/27d60ebe3b4f90f57f1ce0d6f8c1f366d322e5f4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 27d60ebe3b4f90f57f1ce0d6f8c1f366d322e5f4
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Jul 10 12:52:34 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> libgit2-glib: add variant +python36 and make it the default
</span>---
gnome/libgit2-glib/Portfile | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 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 9fce1e9..7dd67f3 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;'>@@ -6,6 +6,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
name libgit2-glib
version 0.24.4
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> license LGPL-2.1
set branch [join [lrange [split ${version} .] 0 1] .]
description Glib wrapper library around the libgit2 git access library.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,7 +47,7 @@ configure.args --disable-silent-rules \
</span>
# requires python >= 3.2.3
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 description {Enable Python support, using python34} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python34 conflicts python35 python36 description {Enable Python support, using python34} {
</span> configure.args-delete --enable-python=no
configure.args-append --enable-python=yes
depends_lib-append port:py34-gobject3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,7 +55,7 @@ variant python34 description {Enable Python support, using python34} {
</span> configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig/
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 description {Enable Python support, using python35} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python34 python36 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;'>@@ -62,8 +63,16 @@ variant python35 description {Enable Python support, using python35} {
</span> configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.5/lib/pkgconfig/
}
<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 support, using python36} {
</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: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;'>+ configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.6/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 python34] && ![variant_isset python35]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python36
</span> }
livecheck.type gnome-with-unstable
</pre><pre style='margin:0'>
</pre>