From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/kiwi: kiwi-1.9.26.ebuild |
Date: | Wed, 26 May 2010 14:25:39 |
Message-Id: | 20100526142536.2C4A62CEC5@corvid.gentoo.org |
1 | arfrever 10/05/26 14:25:35 |
2 | |
3 | Modified: kiwi-1.9.26.ebuild |
4 | Log: |
5 | Fix dependencies. |
6 | (Portage version: HEAD/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.3 dev-python/kiwi/kiwi-1.9.26.ebuild |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kiwi/kiwi-1.9.26.ebuild?rev=1.3&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kiwi/kiwi-1.9.26.ebuild?rev=1.3&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/kiwi/kiwi-1.9.26.ebuild?r1=1.2&r2=1.3 |
14 | |
15 | Index: kiwi-1.9.26.ebuild |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/dev-python/kiwi/kiwi-1.9.26.ebuild,v |
18 | retrieving revision 1.2 |
19 | retrieving revision 1.3 |
20 | diff -u -r1.2 -r1.3 |
21 | --- kiwi-1.9.26.ebuild 10 Oct 2009 17:26:06 -0000 1.2 |
22 | +++ kiwi-1.9.26.ebuild 26 May 2010 14:25:35 -0000 1.3 |
23 | @@ -1,8 +1,9 @@ |
24 | -# Copyright 1999-2009 Gentoo Foundation |
25 | +# Copyright 1999-2010 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/kiwi/kiwi-1.9.26.ebuild,v 1.2 2009/10/10 17:26:06 grobian Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/kiwi/kiwi-1.9.26.ebuild,v 1.3 2010/05/26 14:25:35 arfrever Exp $ |
29 | |
30 | -NEED_PYTHON="2.3" |
31 | +EAPI="3" |
32 | +PYTHON_DEPEND="2" |
33 | SUPPORT_PYTHON_ABIS="1" |
34 | |
35 | inherit distutils versionator |
36 | @@ -18,21 +19,17 @@ |
37 | |
38 | DEPEND="dev-python/pygtk" |
39 | RDEPEND="${DEPEND}" |
40 | +RESTRICT_PYTHON_ABIS="3.*" |
41 | |
42 | -RESTRICT_PYTHON_ABIS="3*" |
43 | - |
44 | -src_unpack() { |
45 | - unpack ${A} |
46 | - cd "${S}" |
47 | - sed -i \ |
48 | - -e "s:share/doc/kiwi:share/doc/${PF}:g" \ |
49 | - setup.py || die "sed failed" |
50 | +src_prepare() { |
51 | + distutils_src_prepare |
52 | + sed -e "s:share/doc/kiwi:share/doc/${PF}:g" -i setup.py || die "sed failed" |
53 | } |
54 | |
55 | src_install() { |
56 | distutils_src_install |
57 | |
58 | - if use examples ; then |
59 | + if use examples; then |
60 | insinto /usr/share/doc/${PF} |
61 | doins -r examples |
62 | fi |