Revision: 147338 https://trac.macports.org/changeset/147338 Author: devans@macports.org Date: 2016-04-01 15:53:54 -0700 (Fri, 01 Apr 2016) Log Message: ----------- GNOME-3/stable: gnome-music, update to version 3.20.0, add variant +python35, default +python34. Modified Paths: -------------- users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile users/devans/GNOME-3/stable/dports/gnome/gnome-music/files/autogen.sh Property Changed: ---------------- users/devans/GNOME-3/stable/dports/gnome/gnome-music/ Property changes on: users/devans/GNOME-3/stable/dports/gnome/gnome-music ___________________________________________________________________ Modified: svn:mergeinfo - /users/devans/GNOME-3/unstable/dports/gnome/gnome-music:119584-125933,128864-134600,137968-140554 + /users/devans/GNOME-3/unstable/dports/gnome/gnome-music:119584-125933,128864-134600,137968-140554,144870-147190 Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile =================================================================== --- users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile 2016-04-01 22:51:20 UTC (rev 147337) +++ users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile 2016-04-01 22:53:54 UTC (rev 147338) @@ -5,7 +5,7 @@ PortGroup gobject_introspection 1.0 name gnome-music -version 3.18.2 +version 3.20.0 license GPL-2 set branch [join [lrange [split ${version} .] 0 1] .] description Music is the GNOME music playing application. @@ -19,8 +19,8 @@ use_xz yes -checksums rmd160 355952b63a3a622359147968deb41e11baa45e82 \ - sha256 81b6ae8b4193774a1dc05e77c59ad8ff5e7debc0aea30ce2ecd13b2ceda10bff +checksums rmd160 f820aece6ad9bb2daf541b1c3623ffec4c34ad0b \ + sha256 f68359104d9d001dc9d7942d4082a2cfffa42f90834b29a87781a521473f6e63 depends_build port:pkgconfig \ port:intltool \ @@ -57,14 +57,28 @@ --disable-silent-rules # requires python >= 3.3 -# configure for python34 +# default to python 3.4 -depends_lib-append port:py34-gobject3 \ - port:py34-requests \ - port:dbus-python34 +variant python34 conflicts python35 description {Use Python 3.4 at run time} { + depends_lib-append port:py34-gobject3 \ + port:py34-requests \ + port:dbus-python34 -configure.python ${prefix}/bin/python3.4 + configure.python ${prefix}/bin/python3.4 +} +variant python35 conflicts python34 description {Use Python 3.5 at run time} { + depends_lib-append port:py35-gobject3 \ + port:py35-requests \ + port:dbus-python35 + + configure.python ${prefix}/bin/python3.5 +} + +if {![variant_isset python35]} { + default_variants +python34 +} + # port installs hicolor icons, desktop application file, and gschemas post-activate { system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-music/files/autogen.sh =================================================================== --- users/devans/GNOME-3/stable/dports/gnome/gnome-music/files/autogen.sh 2016-04-01 22:51:20 UTC (rev 147337) +++ users/devans/GNOME-3/stable/dports/gnome/gnome-music/files/autogen.sh 2016-04-01 22:53:54 UTC (rev 147338) @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0`