Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-sound/rhythmbox/
Date: Mon, 01 Dec 2014 14:09:34
Message-Id: 1417442962.502b10432986261f403ab0d01ccf8d282d615f2c.mgorny@gentoo
1 commit: 502b10432986261f403ab0d01ccf8d282d615f2c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 1 14:09:22 2014 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 1 14:09:22 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=502b1043
7
8 media-sound/rhythmbox: use python-r1 to avoid issues
9
10 Use python-r1 to avoid issues with python-single-r1 and libpeas REQUIRED_USE.
11 Enforce proper USE dependency on libpeas.
12
13 Package-Manager: portage-2.2.14
14 Manifest-Sign-Key: EFB4464E!
15
16 ---
17 media-sound/rhythmbox/rhythmbox-9999.ebuild | 12 +++++-------
18 1 file changed, 5 insertions(+), 7 deletions(-)
19
20 diff --git a/media-sound/rhythmbox/rhythmbox-9999.ebuild b/media-sound/rhythmbox/rhythmbox-9999.ebuild
21 index 26c1d77..45ce3c2 100644
22 --- a/media-sound/rhythmbox/rhythmbox-9999.ebuild
23 +++ b/media-sound/rhythmbox/rhythmbox-9999.ebuild
24 @@ -5,10 +5,10 @@
25 EAPI="5"
26 GNOME2_LA_PUNT="yes"
27 GCONF_DEBUG="no"
28 -PYTHON_COMPAT=( python3_{2,3} )
29 +PYTHON_COMPAT=( python3_{3,4} )
30 PYTHON_REQ_USE="xml"
31
32 -inherit eutils gnome2 python-single-r1 multilib virtualx
33 +inherit eutils gnome2 python-r1 multilib virtualx
34 if [[ ${PV} = 9999 ]]; then
35 inherit gnome2-live
36 fi
37 @@ -21,9 +21,6 @@ SLOT="0"
38 IUSE="cdr daap dbus +libsecret html ipod libnotify lirc mtp nsplugin +python
39 test +udev upnp-av visualizer webkit zeitgeist"
40
41 -# Let people emerge this by default, bug #472932
42 -IUSE+=" python_single_target_python3_2 +python_single_target_python3_3"
43 -
44 if [[ ${PV} = 9999 ]]; then
45 KEYWORDS=""
46 else
47 @@ -35,7 +32,7 @@ REQUIRED_USE="
48 mtp? ( udev )
49 dbus? ( python )
50 webkit? ( python )
51 - python? ( ${PYTHON_REQUIRED_USE} )
52 + python? ( ^^ ( $(python_gen_useflags '*') ) )
53 "
54
55 # FIXME: double check what to do with fm-radio plugin
56 @@ -88,6 +85,7 @@ RDEPEND="${COMMON_DEPEND}
57 >=media-libs/grilo-0.2:0.2
58 >=media-plugins/grilo-plugins-0.2:0.2[upnp-av] )
59 python? (
60 + >=dev-libs/libpeas-0.7.3[${PYTHON_USEDEP}]
61 x11-libs/gdk-pixbuf:2[introspection]
62 x11-libs/gtk+:3[introspection]
63 x11-libs/pango[introspection]
64 @@ -108,7 +106,7 @@ DEPEND="${COMMON_DEPEND}
65 "
66
67 pkg_setup() {
68 - use python && python-single-r1_pkg_setup
69 + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
70 }
71
72 src_prepare() {