1 |
arfrever 09/10/01 23:12:25 |
2 |
|
3 |
Modified: ChangeLog kid-0.9.6.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: 14471-svn/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.14 dev-python/kid/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/kid/ChangeLog?rev=1.14&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/kid/ChangeLog?rev=1.14&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/kid/ChangeLog?r1=1.13&r2=1.14 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/kid/ChangeLog,v |
18 |
retrieving revision 1.13 |
19 |
retrieving revision 1.14 |
20 |
diff -u -r1.13 -r1.14 |
21 |
--- ChangeLog 17 Jul 2007 07:35:25 -0000 1.13 |
22 |
+++ ChangeLog 1 Oct 2009 23:12:25 -0000 1.14 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-python/kid |
25 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/kid/ChangeLog,v 1.13 2007/07/17 07:35:25 lucass Exp $ |
27 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/kid/ChangeLog,v 1.14 2009/10/01 23:12:25 arfrever Exp $ |
29 |
+ |
30 |
+ 01 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
31 |
+ kid-0.9.6.ebuild: |
32 |
+ Set SUPPORT_PYTHON_ABIS. |
33 |
|
34 |
*kid-0.9.6 (17 Jul 2007) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.2 dev-python/kid/kid-0.9.6.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/kid/kid-0.9.6.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/kid/kid-0.9.6.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/kid/kid-0.9.6.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: kid-0.9.6.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/kid/kid-0.9.6.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- kid-0.9.6.ebuild 17 Jul 2007 07:35:25 -0000 1.1 |
52 |
+++ kid-0.9.6.ebuild 1 Oct 2009 23:12:25 -0000 1.2 |
53 |
@@ -1,8 +1,11 @@ |
54 |
-# Copyright 1999-2007 Gentoo Foundation |
55 |
+# Copyright 1999-2009 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/kid/kid-0.9.6.ebuild,v 1.1 2007/07/17 07:35:25 lucass Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/kid/kid-0.9.6.ebuild,v 1.2 2009/10/01 23:12:25 arfrever Exp $ |
59 |
|
60 |
-NEED_PYTHON=2.3 |
61 |
+EAPI="2" |
62 |
+ |
63 |
+NEED_PYTHON="2.5" |
64 |
+SUPPORT_PYTHON_ABIS="1" |
65 |
|
66 |
inherit distutils |
67 |
|
68 |
@@ -15,25 +18,26 @@ |
69 |
SLOT="0" |
70 |
IUSE="doc examples" |
71 |
|
72 |
-RDEPEND="|| ( >=dev-lang/python-2.5 dev-python/elementtree )" |
73 |
-DEPEND="${RDEPEND} |
74 |
- >=dev-python/setuptools-0.6_rc6 |
75 |
+RDEPEND="" |
76 |
+DEPEND=">=dev-python/setuptools-0.6_rc6 |
77 |
doc? ( dev-python/docutils )" |
78 |
+RESTRICT_PYTHON_ABIS="2.4 3.*" |
79 |
|
80 |
-src_test() { |
81 |
- # We have to move the build folder out of the way to make the tests work |
82 |
- mv build build.bak |
83 |
- PYTHONPATH="." "${python}" run_tests.py -x || die "tests failed" |
84 |
- mv build.bak build |
85 |
-} |
86 |
+DOCS="HISTORY RELEASING" |
87 |
|
88 |
src_compile() { |
89 |
distutils_src_compile |
90 |
use doc && emake -C doc |
91 |
} |
92 |
|
93 |
+src_test() { |
94 |
+ testing() { |
95 |
+ PYTHONPATH="." "$(PYTHON)" run_tests.py -x |
96 |
+ } |
97 |
+ python_execute_function testing |
98 |
+} |
99 |
+ |
100 |
src_install() { |
101 |
- DOCS="HISTORY RELEASING" |
102 |
distutils_src_install |
103 |
|
104 |
dobin bin/* |
105 |
@@ -41,12 +45,8 @@ |
106 |
dodoc doc/*.txt |
107 |
use doc && dohtml doc/*.{html,css} |
108 |
|
109 |
- if use examples ; then |
110 |
+ if use examples; then |
111 |
insinto /usr/share/doc/${PF} |
112 |
doins -r examples |
113 |
fi |
114 |
} |
115 |
- |
116 |
-pkg_postinst() { |
117 |
- elog "Installing dev-python/celementtree may enhance performance." |
118 |
-} |