1 |
commit: 422875ecf5d564382654403c321eabb66237bd4c |
2 |
Author: David Heidelberger <david.heidelberger <AT> ixit <DOT> cz> |
3 |
AuthorDate: Mon May 27 20:57:47 2013 +0000 |
4 |
Commit: David Heidelberger <d.okias <AT> gmail <DOT> com> |
5 |
CommitDate: Mon May 27 20:57:47 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=422875ec |
7 |
|
8 |
app-portage/kportagetray: update to EAPI5 and python-r1 eclass |
9 |
|
10 |
Package-Manager: portage-2.2.0_alpha177 |
11 |
|
12 |
--- |
13 |
app-portage/kportagetray/kportagetray-9999.ebuild | 22 ++++------------------ |
14 |
1 file changed, 4 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/app-portage/kportagetray/kportagetray-9999.ebuild b/app-portage/kportagetray/kportagetray-9999.ebuild |
17 |
index e982b53..5bb757f 100644 |
18 |
--- a/app-portage/kportagetray/kportagetray-9999.ebuild |
19 |
+++ b/app-portage/kportagetray/kportagetray-9999.ebuild |
20 |
@@ -2,12 +2,12 @@ |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
# $Header: $ |
23 |
|
24 |
-EAPI=4 |
25 |
+EAPI=5 |
26 |
|
27 |
KDE_LINGUAS="pt_BR" |
28 |
-PYTHON_DEPEND="2:2.6" |
29 |
+PYTHON_COMPAT=( python{2_6,2_7} ) |
30 |
|
31 |
-inherit kde4-base python |
32 |
+inherit kde4-base python-r1 |
33 |
|
34 |
EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git" |
35 |
|
36 |
@@ -21,6 +21,7 @@ SLOT="4" |
37 |
IUSE="" |
38 |
|
39 |
DEPEND=" |
40 |
+ ${PYTHON_DEPS} |
41 |
dev-python/PyQt4[svg,dbus] |
42 |
$(add_kdebase_dep pykde4) |
43 |
" |
44 |
@@ -31,18 +32,3 @@ RDEPEND="${DEPEND} |
45 |
$(add_kdebase_dep knotify) |
46 |
$(add_kdebase_dep konsole) |
47 |
" |
48 |
- |
49 |
-pkg_setup() { |
50 |
- python_set_active_version 2 |
51 |
- python_pkg_setup |
52 |
- kde4-base_pkg_setup |
53 |
-} |
54 |
- |
55 |
-src_prepare() { |
56 |
- python_convert_shebangs -r 2 . |
57 |
- kde4-base_src_prepare |
58 |
-} |
59 |
- |
60 |
-pkg_postinst() { |
61 |
- kde4-base_pkg_postinst |
62 |
-} |