summaryrefslogtreecommitdiff
path: root/kde-misc
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2013-06-29 11:48:15 +0200
committerJohannes Huber <johu@gentoo.org>2013-06-29 11:48:15 +0200
commit4ddb0bbff7b2a9cb0f32a027779667db06345015 (patch)
treec6699b6b8f4b1998f0f31f47d9943e5b4b3549a2 /kde-misc
parent2e03eda61a8629bcb25979480a233c2bc6059059 (diff)
downloadkde-4ddb0bbff7b2a9cb0f32a027779667db06345015.tar.gz
kde-4ddb0bbff7b2a9cb0f32a027779667db06345015.tar.bz2
kde-4ddb0bbff7b2a9cb0f32a027779667db06345015.zip
[kde-misc/wicd-client-kde] Port to non-deprecated python eclass. EAPI 5.
Package-Manager: portage-2.2.0_alpha186
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/wicd-client-kde/wicd-client-kde-9999.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/kde-misc/wicd-client-kde/wicd-client-kde-9999.ebuild b/kde-misc/wicd-client-kde/wicd-client-kde-9999.ebuild
index 48180145afc..79216fa1ffa 100644
--- a/kde-misc/wicd-client-kde/wicd-client-kde-9999.ebuild
+++ b/kde-misc/wicd-client-kde/wicd-client-kde-9999.ebuild
@@ -2,14 +2,14 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
KDE_LINGUAS="cs da de el en_GB es et fr hu it lt nb nds nl pa pl pt pt_BR ru sv
uk zh_CN zh_TW"
EGIT_REPONAME="wicd-kde"
MY_P=${P/-client/}
-PYTHON_DEPEND="2"
-inherit python kde4-base
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+inherit python-single-r1 kde4-base
DESCRIPTION="Wicd client built on the KDE Development Platform"
HOMEPAGE="http://kde-apps.org/content/show.php/Wicd+Client+KDE?content=132366"
@@ -18,15 +18,19 @@ HOMEPAGE="http://kde-apps.org/content/show.php/Wicd+Client+KDE?content=132366"
LICENSE="GPL-3"
SLOT="4"
KEYWORDS=""
-IUSE=""
+IUSE="debug"
-RDEPEND="net-misc/wicd"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ net-misc/wicd"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN/-client/}
pkg_setup() {
- python_pkg_setup
+ python-single-r1_pkg_setup
kde4-base_pkg_setup
}