<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/ea2823028281bc35faa4a40ac92760d9b112c1bf">https://github.com/macports/macports-ports/commit/ea2823028281bc35faa4a40ac92760d9b112c1bf</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 ea28230 libpeas: add +python37 variant
</span>ea28230 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ea2823028281bc35faa4a40ac92760d9b112c1bf
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Wed Oct 10 15:59:06 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> libpeas: add +python37 variant
</span>---
gnome/libpeas/Portfile | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libpeas/Portfile b/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a434723..0e49deb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/libpeas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -71,7 +71,7 @@ default_variants +python27
</span>
# python3 minimum version is 3.2.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python36 description {Enable Python 3.5 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python36 python37 description {Enable Python 3.5 plugin support} {
</span> depends_lib-append port:py35-gobject3
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.5
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,7 +81,7 @@ variant python35 conflicts python36 description {Enable Python 3.5 plugin suppor
</span> configure.args-replace --disable-python3 --enable-python3
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python35 description {Enable Python 3.6 plugin support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python35 python37 description {Enable Python 3.6 plugin support} {
</span> depends_lib-append port:py36-gobject3
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.6
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,7 +91,17 @@ variant python36 conflicts python35 description {Enable Python 3.6 plugin suppor
</span> configure.args-replace --disable-python3 --enable-python3
}
<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 3.7 plugin support} {
</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;'>+ set python_prefix ${frameworks_dir}/Python.framework/Versions/3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pkg_config_path ${python_prefix}/lib/pkgconfig
</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.env-append PYTHON3_CONFIG=${prefix}/bin/python3.7-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags-append -L${python_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-python3 --enable-python3
</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>