<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/a5b75f91a7310e6ba517432fa1ad00e350488db6">https://github.com/macports/macports-ports/commit/a5b75f91a7310e6ba517432fa1ad00e350488db6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a5b75f91a7310e6ba517432fa1ad00e350488db6
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Thu Oct 11 17:25:26 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> gnome-music: add +python37 variant
</span>---
gnome/gnome-music/Portfile | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gnome-music/Portfile b/gnome/gnome-music/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5488de2..8f3ca4c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gnome-music/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gnome-music/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,7 +59,7 @@ configure.args --disable-schemas-compile \
</span> # requires python >= 3.3
# default to python 3.6
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python36 description {Use Python 3.5 at run time} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python36 python37 description {Use Python 3.5 at run time} {
</span> depends_lib-append port:py35-gobject3 \
port:py35-requests \
port:dbus-python35
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,7 +69,7 @@ variant python35 conflicts python36 description {Use Python 3.5 at run time} {
</span> configure.pkg_config_path ${python_prefix}/lib/pkgconfig
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python35 description {Use Python 3.6 at run time} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python35 python37 description {Use Python 3.6 at run time} {
</span> depends_lib-append port:py36-gobject3 \
port:py36-requests \
port:dbus-python36
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,7 +79,17 @@ variant python36 conflicts python35 description {Use Python 3.6 at run time} {
</span> configure.pkg_config_path ${python_prefix}/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 {Use Python 3.7 at run time} {
</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;'>+ port:py37-requests \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dbus-python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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_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;'>+}
</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>