1 |
neurogeek 11/07/29 16:07:58 |
2 |
|
3 |
Modified: ChangeLog pymp-1.1.ebuild |
4 |
Log: |
5 |
Python related improvements wrt bug #315061 |
6 |
|
7 |
(Portage version: 2.2.0_alpha46/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.7 media-video/pymp/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pymp/ChangeLog?rev=1.7&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pymp/ChangeLog?rev=1.7&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pymp/ChangeLog?r1=1.6&r2=1.7 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/pymp/ChangeLog,v |
19 |
retrieving revision 1.6 |
20 |
retrieving revision 1.7 |
21 |
diff -u -r1.6 -r1.7 |
22 |
--- ChangeLog 16 Jul 2009 08:08:58 -0000 1.6 |
23 |
+++ ChangeLog 29 Jul 2011 16:07:58 -0000 1.7 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for media-video/pymp |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/ChangeLog,v 1.6 2009/07/16 08:08:58 ssuominen Exp $ |
28 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/ChangeLog,v 1.7 2011/07/29 16:07:58 neurogeek Exp $ |
30 |
+ |
31 |
+ 29 Jul 2011; Jesus Rivero <neurogeek@g.o> pymp-1.1.ebuild: |
32 |
+ Python related improvements wrt bug #315061 |
33 |
|
34 |
*pymp-1.1 (16 Jul 2009) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.2 media-video/pymp/pymp-1.1.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pymp/pymp-1.1.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pymp/pymp-1.1.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/pymp/pymp-1.1.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: pymp-1.1.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/media-video/pymp/pymp-1.1.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- pymp-1.1.ebuild 16 Jul 2009 08:08:58 -0000 1.1 |
52 |
+++ pymp-1.1.ebuild 29 Jul 2011 16:07:58 -0000 1.2 |
53 |
@@ -1,8 +1,9 @@ |
54 |
-# Copyright 1999-2009 Gentoo Foundation |
55 |
+# Copyright 1999-2011 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/pymp-1.1.ebuild,v 1.1 2009/07/16 08:08:58 ssuominen Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/pymp-1.1.ebuild,v 1.2 2011/07/29 16:07:58 neurogeek Exp $ |
59 |
|
60 |
-EAPI=2 |
61 |
+EAPI=3 |
62 |
+PYTHON_DEPEND="2:2.5" |
63 |
inherit eutils multilib python |
64 |
|
65 |
DESCRIPTION="a lean, flexible frontend to mplayer written in python" |
66 |
@@ -15,12 +16,16 @@ |
67 |
IUSE="" |
68 |
|
69 |
RDEPEND="media-video/mplayer |
70 |
- dev-python/pygtk |
71 |
- >=dev-lang/python-2.5" |
72 |
+ dev-python/pygtk" |
73 |
DEPEND="sys-apps/sed" |
74 |
|
75 |
+pkg_setup() { |
76 |
+ python_set_active_version 2 |
77 |
+ python_pkg_setup |
78 |
+} |
79 |
+ |
80 |
src_prepare() { |
81 |
- sed -i -e "s:PREFIX/lib:/usr/$(get_libdir):" pymp || die "sed failed" |
82 |
+ sed -i -e "s/python/python2/" -e "s:PREFIX/lib:/usr/$(get_libdir):" pymp || die "sed failed" |
83 |
} |
84 |
|
85 |
src_compile() { :; } |