1 |
cedk 10/05/30 11:27:51 |
2 |
|
3 |
Modified: ChangeLog suds-0.3.9.ebuild |
4 |
Log: |
5 |
Add doc use flag |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 dev-python/suds/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/ChangeLog?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/ChangeLog?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/ChangeLog?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/suds/ChangeLog,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- ChangeLog 30 May 2010 09:23:07 -0000 1.1 |
22 |
+++ ChangeLog 30 May 2010 11:27:51 -0000 1.2 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for dev-python/suds |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/ChangeLog,v 1.1 2010/05/30 09:23:07 cedk Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/ChangeLog,v 1.2 2010/05/30 11:27:51 cedk Exp $ |
28 |
+ |
29 |
+ 30 May 2010; Cédric Krier <cedk@g.o> suds-0.3.9.ebuild: |
30 |
+ Add doc use flag |
31 |
|
32 |
*suds-0.3.9 (30 May 2010) |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
1.2 dev-python/suds/suds-0.3.9.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/suds-0.3.9.ebuild?rev=1.2&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/suds-0.3.9.ebuild?rev=1.2&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/suds/suds-0.3.9.ebuild?r1=1.1&r2=1.2 |
42 |
|
43 |
Index: suds-0.3.9.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/suds/suds-0.3.9.ebuild,v |
46 |
retrieving revision 1.1 |
47 |
retrieving revision 1.2 |
48 |
diff -u -r1.1 -r1.2 |
49 |
--- suds-0.3.9.ebuild 30 May 2010 09:23:07 -0000 1.1 |
50 |
+++ suds-0.3.9.ebuild 30 May 2010 11:27:51 -0000 1.2 |
51 |
@@ -1,13 +1,13 @@ |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/suds-0.3.9.ebuild,v 1.1 2010/05/30 09:23:07 cedk Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/suds-0.3.9.ebuild,v 1.2 2010/05/30 11:27:51 cedk Exp $ |
56 |
|
57 |
EAPI=3 |
58 |
PYTHON_DEPEND="2" |
59 |
|
60 |
inherit distutils |
61 |
|
62 |
-MY_P=${P/suds/python-suds} |
63 |
+MY_P="python-${P}" |
64 |
|
65 |
DESCRIPTION="A lightweight SOAP python client" |
66 |
HOMEPAGE="https://fedorahosted.org/suds/" |
67 |
@@ -16,9 +16,25 @@ |
68 |
LICENSE="LGPL-3" |
69 |
SLOT="0" |
70 |
KEYWORDS="~x86" |
71 |
-IUSE="" |
72 |
+IUSE="doc" |
73 |
|
74 |
-DEPEND="dev-python/setuptools" |
75 |
+DEPEND="dev-python/setuptools |
76 |
+ doc? ( dev-python/epydoc )" |
77 |
RDEPEND="" |
78 |
|
79 |
S=${WORKDIR}/${MY_P} |
80 |
+ |
81 |
+src_compile() { |
82 |
+ distutils_src_compile |
83 |
+ |
84 |
+ if use doc; then |
85 |
+ epydoc -n "Suds - ${DESCRIPTION}" -o "${S}"/doc \ |
86 |
+ "${S}"/suds || die "epydoc failed" |
87 |
+ fi |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ distutils_src_install |
92 |
+ |
93 |
+ use doc && dohtml -r doc/* |
94 |
+} |