<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/552a2dd1279ddfb0291e3e2611187fb7e3aad6cc">https://github.com/macports/macports-ports/commit/552a2dd1279ddfb0291e3e2611187fb7e3aad6cc</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 552a2dd1279ddfb0291e3e2611187fb7e3aad6cc
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Jul 24 14:45:00 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> gnome-music: add variant +python36 and make it the default
</span>---
gnome/gnome-music/Portfile | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 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 25b6f72..a35fcc0 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;'>@@ -58,7 +58,7 @@ configure.args --disable-schemas-compile \
</span> # requires python >= 3.3
# default to python 3.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 conflicts python35 description {Use Python 3.4 at run time} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python34 conflicts python35 python36 description {Use Python 3.4 at run time} {
</span> depends_lib-append port:py34-gobject3 \
port:py34-requests \
port:dbus-python34
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,7 +68,7 @@ variant python34 conflicts python35 description {Use Python 3.4 at run time} {
</span> configure.pkg_config_path ${python_prefix}/lib/pkgconfig
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python34 description {Use Python 3.5 at run time} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python34 python36 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;'>@@ -78,8 +78,18 @@ variant python35 conflicts python34 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;'>-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 {Use Python 3.6 at run time} {
</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;'>+ port:py36-requests \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dbus-python36
</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.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_prefix ${frameworks_dir}/Python.framework/Versions/3.6
</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 python34] && ![variant_isset python35]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python36
</span> }
# port installs hicolor icons, desktop application file, and gschemas
</pre><pre style='margin:0'>
</pre>