<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4bf29d74abef460e8d052e8f81b1266180b31369">https://github.com/macports/macports-ports/commit/4bf29d74abef460e8d052e8f81b1266180b31369</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 4bf29d7 glade: add support for Python 3.6
</span>4bf29d7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4bf29d74abef460e8d052e8f81b1266180b31369
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Jul 13 22:22:44 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> glade: add support for Python 3.6
</span>---
devel/glade/Portfile | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/glade/Portfile b/devel/glade/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 012eb6e..4dbf081 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/glade/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/glade/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,7 +64,7 @@ configure.args --enable-gladeui \
</span> configure.cflags-append \
-Wno-format-nonliteral
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python34 python35 description {Build Python 2.7 widgets support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python34 python35 python36 description {Build Python 2.7 widgets support} {
</span> configure.args-replace --disable-python --enable-python
configure.python ${prefix}/bin/python2.7
set python_framework ${frameworks_dir}/Python.framework/Versions/2.7
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,7 +74,7 @@ variant python27 conflicts python34 python35 description {Build Python 2.7 widge
</span> configure.pkg_config_path ${python_framework}/lib/pkgconfig
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 conflicts python27 python35 description {Build Python 3.4 widgets support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python34 conflicts python27 python35 python36 description {Build Python 3.4 widgets support} {
</span> configure.args-replace --disable-python --enable-python
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;'>@@ -84,7 +84,7 @@ variant python34 conflicts python27 python35 description {Build Python 3.4 widge
</span> configure.pkg_config_path ${python_framework}/lib/pkgconfig
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python27 python34 description {Build Python 3.5 widgets support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python27 python34 python36 description {Build Python 3.5 widgets support} {
</span> configure.args-replace --disable-python --enable-python
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;'>@@ -94,7 +94,17 @@ variant python35 conflicts python27 python34 description {Build Python 3.5 widge
</span> configure.pkg_config_path ${python_framework}/lib/pkgconfig
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python35]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python27 python34 python35 description {Build Python 3.6 widgets support} {
</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;'>+ 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.env-append PYTHON_LIBS="-L${python_framework}/lib -lpython3.6" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PYTHON_LIB_LOC=${python_framework}/lib
</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.pkg_config_path ${python_framework}/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 python27] && ![variant_isset python35] && ![variant_isset python36]} {
</span> default_variants +python34
}
</pre><pre style='margin:0'>
</pre>