<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/5136b70ee0e5b5216d2888d353392e9833d29f70">https://github.com/macports/macports-ports/commit/5136b70ee0e5b5216d2888d353392e9833d29f70</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5136b70ee0e5b5216d2888d353392e9833d29f70
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Wed Oct 10 15:39:51 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> glade: add +python37 variant
</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 7675c6f..774b339 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 python35 python36 description {Build Python 2.7 widgets support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python35 python36 python37 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 python35 python36 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 python35 conflicts python27 python36 description {Build Python 3.5 widgets support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python27 python36 python37 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;'>@@ -84,7 +84,7 @@ variant python35 conflicts python27 python36 description {Build Python 3.5 widge
</span> configure.pkg_config_path ${python_framework}/lib/pkgconfig
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python27 python35 description {Build Python 3.6 widgets support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python27 python35 python37 description {Build Python 3.6 widgets support} {
</span> configure.args-replace --disable-python --enable-python
configure.python ${prefix}/bin/python3.6
set python_framework ${frameworks_dir}/Python.framework/Versions/3.6
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -94,7 +94,17 @@ variant python36 conflicts python27 python35 description {Build Python 3.6 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 python37 conflicts python27 python35 python36 description {Build Python 3.7 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.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_framework ${frameworks_dir}/Python.framework/Versions/3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PYTHON_LIBS="-L${python_framework}/lib -lpython3.7" \
</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:py37-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 python37]} {
</span> default_variants +python36
}
</pre><pre style='margin:0'>
</pre>