1 |
arfrever 10/04/03 19:27:55 |
2 |
|
3 |
Modified: ChangeLog utidylib-0.2-r1.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: HEAD/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.10 dev-python/utidylib/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/utidylib/ChangeLog?rev=1.10&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/utidylib/ChangeLog?rev=1.10&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/utidylib/ChangeLog?r1=1.9&r2=1.10 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/utidylib/ChangeLog,v |
18 |
retrieving revision 1.9 |
19 |
retrieving revision 1.10 |
20 |
diff -u -r1.9 -r1.10 |
21 |
--- ChangeLog 7 Feb 2010 20:40:17 -0000 1.9 |
22 |
+++ ChangeLog 3 Apr 2010 19:27:55 -0000 1.10 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-python/utidylib |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/utidylib/ChangeLog,v 1.9 2010/02/07 20:40:17 pva Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/utidylib/ChangeLog,v 1.10 2010/04/03 19:27:55 arfrever Exp $ |
28 |
+ |
29 |
+ 03 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
30 |
+ utidylib-0.2-r1.ebuild: |
31 |
+ Set SUPPORT_PYTHON_ABIS. |
32 |
|
33 |
07 Feb 2010; Peter Volkov <pva@g.o> utidylib-0.2-r1.ebuild: |
34 |
Add inherit eutils: epatch is defined there. |
35 |
|
36 |
|
37 |
|
38 |
1.3 dev-python/utidylib/utidylib-0.2-r1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/utidylib/utidylib-0.2-r1.ebuild?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/utidylib/utidylib-0.2-r1.ebuild?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/utidylib/utidylib-0.2-r1.ebuild?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: utidylib-0.2-r1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/utidylib/utidylib-0.2-r1.ebuild,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- utidylib-0.2-r1.ebuild 7 Feb 2010 20:40:17 -0000 1.2 |
51 |
+++ utidylib-0.2-r1.ebuild 3 Apr 2010 19:27:55 -0000 1.3 |
52 |
@@ -1,9 +1,13 @@ |
53 |
# Copyright 1999-2010 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/utidylib/utidylib-0.2-r1.ebuild,v 1.2 2010/02/07 20:40:17 pva Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/utidylib/utidylib-0.2-r1.ebuild,v 1.3 2010/04/03 19:27:55 arfrever Exp $ |
57 |
|
58 |
-EAPI="2" |
59 |
-inherit eutils distutils |
60 |
+EAPI="3" |
61 |
+PYTHON_DEPEND="2" |
62 |
+SUPPORT_PYTHON_ABIS="1" |
63 |
+DISTUTILS_SRC_TEST="trial tidy" |
64 |
+ |
65 |
+inherit distutils eutils |
66 |
|
67 |
MY_P="uTidylib-${PV}" |
68 |
|
69 |
@@ -14,20 +18,20 @@ |
70 |
LICENSE="MIT" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
73 |
-IUSE="doc test" |
74 |
+IUSE="doc" |
75 |
|
76 |
-RDEPEND=">=dev-lang/python-2.3 |
77 |
- app-text/htmltidy |
78 |
- dev-python/ctypes" |
79 |
+RDEPEND="app-text/htmltidy" |
80 |
DEPEND="${RDEPEND} |
81 |
app-arch/unzip |
82 |
- doc? ( dev-python/epydoc ) |
83 |
- test? ( dev-python/twisted )" |
84 |
+ doc? ( dev-python/epydoc )" |
85 |
+RESTRICT_PYTHON_ABIS="3.*" |
86 |
|
87 |
-PYTHON_MODNAME="tidy" |
88 |
S="${WORKDIR}/${MY_P}" |
89 |
|
90 |
+PYTHON_MODNAME="tidy" |
91 |
+ |
92 |
src_prepare(){ |
93 |
+ distutils_src_prepare |
94 |
epatch "${FILESDIR}/${P}-no-docs-in-site-packages.patch" |
95 |
epatch "${FILESDIR}/${P}-fix_tests.patch" |
96 |
} |
97 |
@@ -35,16 +39,10 @@ |
98 |
src_compile() { |
99 |
distutils_src_compile |
100 |
if use doc; then |
101 |
- python gendoc.py || die "building api docs failed" |
102 |
+ "$(PYTHON -f)" gendoc.py || die "Generation of documentation failed" |
103 |
fi |
104 |
} |
105 |
|
106 |
-src_test() { |
107 |
- einfo "${S}" |
108 |
- einfo "$(ls ${S}/foo.htm)" |
109 |
- PYTHONPATH="." trial tidy || die "tests failed" |
110 |
-} |
111 |
- |
112 |
src_install() { |
113 |
distutils_src_install |
114 |
use doc && dohtml -r apidoc |