1 |
arfrever 10/01/02 23:33:12 |
2 |
|
3 |
Modified: ChangeLog routes-1.11.ebuild |
4 |
Log: |
5 |
Use documentation already present in the tarball instead of generating it |
6 |
in src_compile() to fix building wiht USE="doc" (bug #297795). |
7 |
(Portage version: 15156-svn/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.9 dev-python/routes/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/ChangeLog?rev=1.9&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/ChangeLog?rev=1.9&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/ChangeLog?r1=1.8&r2=1.9 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v |
19 |
retrieving revision 1.8 |
20 |
retrieving revision 1.9 |
21 |
diff -u -r1.8 -r1.9 |
22 |
--- ChangeLog 20 Dec 2009 10:31:25 -0000 1.8 |
23 |
+++ ChangeLog 2 Jan 2010 23:33:12 -0000 1.9 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-python/routes |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v 1.8 2009/12/20 10:31:25 grobian Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v 1.9 2010/01/02 23:33:12 arfrever Exp $ |
30 |
+ |
31 |
+ 02 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
32 |
+ routes-1.11.ebuild: |
33 |
+ Use documentation already present in the tarball instead of generating it |
34 |
+ in src_compile() to fix building wiht USE="doc" (bug #297795). |
35 |
|
36 |
20 Dec 2009; Fabian Groffen <grobian@g.o> routes-1.11.ebuild: |
37 |
Merged keywords from Prefix overlay |
38 |
|
39 |
|
40 |
|
41 |
1.3 dev-python/routes/routes-1.11.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/routes-1.11.ebuild?rev=1.3&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/routes-1.11.ebuild?rev=1.3&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/routes/routes-1.11.ebuild?r1=1.2&r2=1.3 |
46 |
|
47 |
Index: routes-1.11.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/routes/routes-1.11.ebuild,v |
50 |
retrieving revision 1.2 |
51 |
retrieving revision 1.3 |
52 |
diff -u -r1.2 -r1.3 |
53 |
--- routes-1.11.ebuild 20 Dec 2009 10:31:25 -0000 1.2 |
54 |
+++ routes-1.11.ebuild 2 Jan 2010 23:33:12 -0000 1.3 |
55 |
@@ -1,6 +1,6 @@ |
56 |
-# Copyright 1999-2009 Gentoo Foundation |
57 |
+# Copyright 1999-2010 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/routes-1.11.ebuild,v 1.2 2009/12/20 10:31:25 grobian Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/routes-1.11.ebuild,v 1.3 2010/01/02 23:33:12 arfrever Exp $ |
61 |
|
62 |
EAPI="2" |
63 |
SUPPORT_PYTHON_ABIS="1" |
64 |
@@ -20,21 +20,12 @@ |
65 |
IUSE="doc test" |
66 |
|
67 |
DEPEND="dev-python/setuptools |
68 |
- doc? ( dev-python/buildutils dev-python/pudge ) |
69 |
test? ( dev-python/coverage dev-python/nose )" |
70 |
RDEPEND="" |
71 |
RESTRICT_PYTHON_ABIS="3.*" |
72 |
|
73 |
S="${WORKDIR}/${MY_P}" |
74 |
|
75 |
-src_compile() { |
76 |
- distutils_src_compile |
77 |
- |
78 |
- if use doc; then |
79 |
- PYTHONPATH=. "${python}" setup.py pudge || die "Generation of documentation failed" |
80 |
- fi |
81 |
-} |
82 |
- |
83 |
src_test() { |
84 |
testing() { |
85 |
PYTHONPATH="build-${PYTHON_ABI}" nosetests-${PYTHON_ABI} |
86 |
@@ -44,5 +35,8 @@ |
87 |
|
88 |
src_install() { |
89 |
distutils_src_install |
90 |
- use doc && dohtml -r docs/html/* |
91 |
+ |
92 |
+ if use doc; then |
93 |
+ dohtml -r docs/_build/html/* || die "dohtml failed" |
94 |
+ fi |
95 |
} |