1 |
hwoarang 10/04/22 17:46:50 |
2 |
|
3 |
Modified: kanyremote-5.11.ebuild kanyremote-5.10.ebuild |
4 |
Log: |
5 |
Refactor ebuild to use python functions correctly. Fixes bug #312665 |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.4 kde-misc/kanyremote/kanyremote-5.11.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/kanyremote/kanyremote-5.11.ebuild?rev=1.4&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/kanyremote/kanyremote-5.11.ebuild?rev=1.4&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/kanyremote/kanyremote-5.11.ebuild?r1=1.3&r2=1.4 |
14 |
|
15 |
Index: kanyremote-5.11.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-5.11.ebuild,v |
18 |
retrieving revision 1.3 |
19 |
retrieving revision 1.4 |
20 |
diff -u -r1.3 -r1.4 |
21 |
--- kanyremote-5.11.ebuild 19 Apr 2010 14:18:15 -0000 1.3 |
22 |
+++ kanyremote-5.11.ebuild 22 Apr 2010 17:46:50 -0000 1.4 |
23 |
@@ -1,10 +1,11 @@ |
24 |
# Copyright 1999-2010 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-5.11.ebuild,v 1.3 2010/04/19 14:18:15 hwoarang Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-5.11.ebuild,v 1.4 2010/04/22 17:46:50 hwoarang Exp $ |
28 |
|
29 |
EAPI="2" |
30 |
|
31 |
-inherit autotools base |
32 |
+PYTHON_DEPEND="2" |
33 |
+inherit autotools python base |
34 |
|
35 |
DESCRIPTION="KDE frontend to Anyremote" |
36 |
HOMEPAGE="http://anyremote.sourceforge.net/" |
37 |
@@ -21,6 +22,10 @@ |
38 |
bluetooth? ( dev-python/pybluez )" |
39 |
RDEPEND="${DEPEND}" |
40 |
|
41 |
+pkg_setup () { |
42 |
+ python_set_active_version 2 |
43 |
+} |
44 |
+ |
45 |
src_prepare() { |
46 |
#fix documentation directory wrt bug #316087 |
47 |
sed -i "s/doc\/${PN}/doc\/${PF}/g" Makefile.am |
48 |
|
49 |
|
50 |
|
51 |
1.4 kde-misc/kanyremote/kanyremote-5.10.ebuild |
52 |
|
53 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/kanyremote/kanyremote-5.10.ebuild?rev=1.4&view=markup |
54 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/kanyremote/kanyremote-5.10.ebuild?rev=1.4&content-type=text/plain |
55 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-misc/kanyremote/kanyremote-5.10.ebuild?r1=1.3&r2=1.4 |
56 |
|
57 |
Index: kanyremote-5.10.ebuild |
58 |
=================================================================== |
59 |
RCS file: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-5.10.ebuild,v |
60 |
retrieving revision 1.3 |
61 |
retrieving revision 1.4 |
62 |
diff -u -r1.3 -r1.4 |
63 |
--- kanyremote-5.10.ebuild 19 Apr 2010 14:18:15 -0000 1.3 |
64 |
+++ kanyremote-5.10.ebuild 22 Apr 2010 17:46:50 -0000 1.4 |
65 |
@@ -1,10 +1,11 @@ |
66 |
# Copyright 1999-2010 Gentoo Foundation |
67 |
# Distributed under the terms of the GNU General Public License v2 |
68 |
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-5.10.ebuild,v 1.3 2010/04/19 14:18:15 hwoarang Exp $ |
69 |
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-5.10.ebuild,v 1.4 2010/04/22 17:46:50 hwoarang Exp $ |
70 |
|
71 |
EAPI="2" |
72 |
+PYTHON_DEPEND="2" |
73 |
|
74 |
-inherit base |
75 |
+inherit python base |
76 |
|
77 |
DESCRIPTION="KDE frontend to Anyremote" |
78 |
HOMEPAGE="http://anyremote.sourceforge.net/" |
79 |
@@ -21,6 +22,10 @@ |
80 |
bluetooth? ( dev-python/pybluez )" |
81 |
RDEPEND="${DEPEND}" |
82 |
|
83 |
+pkg_setup() { |
84 |
+ python_set_active_version 2 |
85 |
+} |
86 |
+ |
87 |
src_prepare() { |
88 |
#fix documentation directory wrt bug #316087 |
89 |
sed -i "s/doc\/${PN}/doc\/${PF}/g" Makefile.am |