1 |
ssuominen 13/05/28 04:53:29 |
2 |
|
3 |
Modified: ChangeLog listen-0.6.5-r1.ebuild |
4 |
Log: |
5 |
Use python-single-r1.eclass instead of python.eclass. Remove deprecated optional gnome-vfs-python dependency. Fix MimeType in .desktop file. |
6 |
|
7 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.33 media-sound/listen/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/listen/ChangeLog?rev=1.33&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/listen/ChangeLog?rev=1.33&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/listen/ChangeLog?r1=1.32&r2=1.33 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/listen/ChangeLog,v |
19 |
retrieving revision 1.32 |
20 |
retrieving revision 1.33 |
21 |
diff -u -r1.32 -r1.33 |
22 |
--- ChangeLog 5 May 2012 09:02:05 -0000 1.32 |
23 |
+++ ChangeLog 28 May 2013 04:53:29 -0000 1.33 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for media-sound/listen |
26 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/ChangeLog,v 1.32 2012/05/05 09:02:05 mgorny Exp $ |
28 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/ChangeLog,v 1.33 2013/05/28 04:53:29 ssuominen Exp $ |
30 |
+ |
31 |
+ 28 May 2013; Samuli Suominen <ssuominen@g.o> listen-0.6.5-r1.ebuild: |
32 |
+ Use python-single-r1.eclass instead of python.eclass. Remove deprecated |
33 |
+ optional gnome-vfs-python dependency. Fix MimeType in .desktop file. |
34 |
|
35 |
05 May 2012; Michał Górny <mgorny@g.o> listen-0.6.5-r1.ebuild: |
36 |
dev-util/pkgconfig -> virtual/pkgconfig |
37 |
|
38 |
|
39 |
|
40 |
1.3 media-sound/listen/listen-0.6.5-r1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/listen/listen-0.6.5-r1.ebuild?rev=1.3&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/listen/listen-0.6.5-r1.ebuild?rev=1.3&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/listen/listen-0.6.5-r1.ebuild?r1=1.2&r2=1.3 |
45 |
|
46 |
Index: listen-0.6.5-r1.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/listen/listen-0.6.5-r1.ebuild,v |
49 |
retrieving revision 1.2 |
50 |
retrieving revision 1.3 |
51 |
diff -u -r1.2 -r1.3 |
52 |
--- listen-0.6.5-r1.ebuild 5 May 2012 09:02:05 -0000 1.2 |
53 |
+++ listen-0.6.5-r1.ebuild 28 May 2013 04:53:29 -0000 1.3 |
54 |
@@ -1,65 +1,59 @@ |
55 |
-# Copyright 1999-2012 Gentoo Foundation |
56 |
+# Copyright 1999-2013 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/listen-0.6.5-r1.ebuild,v 1.2 2012/05/05 09:02:05 mgorny Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/listen/listen-0.6.5-r1.ebuild,v 1.3 2013/05/28 04:53:29 ssuominen Exp $ |
60 |
|
61 |
-EAPI=3 |
62 |
-PYTHON_DEPEND="2:2.6" |
63 |
-inherit eutils multilib python |
64 |
+EAPI=5 |
65 |
+PYTHON_COMPAT=( python2_7 ) |
66 |
+inherit eutils multilib python-single-r1 |
67 |
|
68 |
DESCRIPTION="A music management and playback for GTK+ based desktops" |
69 |
HOMEPAGE="http://www.listen-project.org/" |
70 |
-SRC_URI="http://download.listen-project.org/0.6/${P}.tar.gz" |
71 |
+SRC_URI="http://download.listen-project.org/${PV%.*}/${P}.tar.gz" |
72 |
|
73 |
LICENSE="GPL-2" |
74 |
SLOT="0" |
75 |
KEYWORDS="~amd64 ~x86" |
76 |
-IUSE="cdda gnome" |
77 |
+IUSE="cdda" |
78 |
|
79 |
-RDEPEND="dev-python/dbus-python |
80 |
- dev-python/gst-python:0.10 |
81 |
- >=dev-python/pygtk-2.8:2 |
82 |
- dev-python/pyinotify |
83 |
- || ( dev-python/python-xlib dev-python/egg-python ) |
84 |
+RDEPEND="${PYTHON_DEPS} |
85 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
86 |
+ dev-python/gst-python:0.10[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/pygtk-2.8:2[${PYTHON_USEDEP}] |
88 |
+ dev-python/pyinotify[${PYTHON_USEDEP}] |
89 |
+ || ( dev-python/python-xlib[${PYTHON_USEDEP}] dev-python/egg-python[${PYTHON_USEDEP}] ) |
90 |
dev-python/pywebkitgtk |
91 |
- dev-python/pyxdg |
92 |
+ dev-python/pyxdg[${PYTHON_USEDEP}] |
93 |
media-libs/libgpod[python] |
94 |
- media-libs/mutagen |
95 |
+ media-libs/mutagen[${PYTHON_USEDEP}] |
96 |
media-plugins/gst-plugins-meta:0.10 |
97 |
x11-libs/libnotify |
98 |
- cdda? ( dev-python/python-musicbrainz ) |
99 |
- gnome? ( dev-python/gnome-vfs-python )" |
100 |
+ cdda? ( dev-python/python-musicbrainz[${PYTHON_USEDEP}] )" |
101 |
DEPEND="${RDEPEND} |
102 |
app-text/docbook2X |
103 |
dev-util/intltool |
104 |
- virtual/pkgconfig |
105 |
sys-devel/gettext |
106 |
+ virtual/pkgconfig |
107 |
!media-radio/ax25-apps" |
108 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
109 |
|
110 |
pkg_setup() { |
111 |
- python_set_active_version 2 |
112 |
- python_pkg_setup |
113 |
+ python-single-r1_pkg_setup |
114 |
} |
115 |
|
116 |
src_prepare() { |
117 |
epatch "${FILESDIR}"/${P}-Makefile.patch |
118 |
+ sed -i -e 's:audip/mp3:audio/mp3:' misc/listen.desktop.in || die |
119 |
} |
120 |
|
121 |
src_compile() { |
122 |
- CHECK_DEPENDS=0 emake PYTHON="$(PYTHON)" || die |
123 |
+ CHECK_DEPENDS=0 emake PYTHON="${EPYTHON}" |
124 |
} |
125 |
|
126 |
src_test() { :; } #324719 |
127 |
|
128 |
src_install() { |
129 |
- DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" emake \ |
130 |
- install || die |
131 |
+ DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" emake install |
132 |
dodoc README |
133 |
-} |
134 |
- |
135 |
-pkg_postinst() { |
136 |
- python_mod_optimize /usr/$(get_libdir)/${PN} |
137 |
-} |
138 |
|
139 |
-pkg_postrm() { |
140 |
- python_mod_cleanup /usr/$(get_libdir)/${PN} |
141 |
+ python_optimize "${ED}"/usr/$(get_libdir)/${PN} |
142 |
} |