From 48e033fd4eef5048ddaf23a94e2400a9db90e5c1 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 26 May 2010 14:25:35 +0000 Subject: Fix dependencies. (Portage version: HEAD/cvs/Linux x86_64) --- dev-python/kiwi/kiwi-1.9.26.ebuild | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'dev-python/kiwi') diff --git a/dev-python/kiwi/kiwi-1.9.26.ebuild b/dev-python/kiwi/kiwi-1.9.26.ebuild index c3f192f975e4..39f50bd1aac0 100644 --- a/dev-python/kiwi/kiwi-1.9.26.ebuild +++ b/dev-python/kiwi/kiwi-1.9.26.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/kiwi/kiwi-1.9.26.ebuild,v 1.2 2009/10/10 17:26:06 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/kiwi/kiwi-1.9.26.ebuild,v 1.3 2010/05/26 14:25:35 arfrever Exp $ -NEED_PYTHON="2.3" +EAPI="3" +PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" inherit distutils versionator @@ -18,21 +19,17 @@ IUSE="examples" DEPEND="dev-python/pygtk" RDEPEND="${DEPEND}" +RESTRICT_PYTHON_ABIS="3.*" -RESTRICT_PYTHON_ABIS="3*" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i \ - -e "s:share/doc/kiwi:share/doc/${PF}:g" \ - setup.py || die "sed failed" +src_prepare() { + distutils_src_prepare + sed -e "s:share/doc/kiwi:share/doc/${PF}:g" -i setup.py || die "sed failed" } src_install() { distutils_src_install - if use examples ; then + if use examples; then insinto /usr/share/doc/${PF} doins -r examples fi -- cgit v1.2.3-65-gdbad