1 |
arfrever 10/07/28 21:50:20 |
2 |
|
3 |
Modified: ChangeLog happydoc-3.1.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
|
7 |
(Portage version: HEAD/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.24 dev-python/happydoc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/happydoc/ChangeLog?rev=1.24&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/happydoc/ChangeLog?rev=1.24&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/happydoc/ChangeLog?r1=1.23&r2=1.24 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/happydoc/ChangeLog,v |
19 |
retrieving revision 1.23 |
20 |
retrieving revision 1.24 |
21 |
diff -u -r1.23 -r1.24 |
22 |
--- ChangeLog 25 Feb 2009 20:59:37 -0000 1.23 |
23 |
+++ ChangeLog 28 Jul 2010 21:50:19 -0000 1.24 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for dev-python/happydoc |
26 |
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/happydoc/ChangeLog,v 1.23 2009/02/25 20:59:37 neurogeek Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/happydoc/ChangeLog,v 1.24 2010/07/28 21:50:19 arfrever Exp $ |
30 |
+ |
31 |
+ 28 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
32 |
+ happydoc-3.1.ebuild: |
33 |
+ Set SUPPORT_PYTHON_ABIS. |
34 |
|
35 |
*happydoc-3.1 (25 Feb 2009) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.2 dev-python/happydoc/happydoc-3.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/happydoc/happydoc-3.1.ebuild?rev=1.2&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/happydoc/happydoc-3.1.ebuild?rev=1.2&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/happydoc/happydoc-3.1.ebuild?r1=1.1&r2=1.2 |
45 |
|
46 |
Index: happydoc-3.1.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/happydoc/happydoc-3.1.ebuild,v |
49 |
retrieving revision 1.1 |
50 |
retrieving revision 1.2 |
51 |
diff -u -r1.1 -r1.2 |
52 |
--- happydoc-3.1.ebuild 25 Feb 2009 20:59:37 -0000 1.1 |
53 |
+++ happydoc-3.1.ebuild 28 Jul 2010 21:50:19 -0000 1.2 |
54 |
@@ -1,38 +1,46 @@ |
55 |
-# Copyright 1999-2009 Gentoo Foundation |
56 |
+# Copyright 1999-2010 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/happydoc/happydoc-3.1.ebuild,v 1.1 2009/02/25 20:59:37 neurogeek Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/happydoc/happydoc-3.1.ebuild,v 1.2 2010/07/28 21:50:19 arfrever Exp $ |
60 |
+ |
61 |
+EAPI="3" |
62 |
+PYTHON_DEPEND="2" |
63 |
+SUPPORT_PYTHON_ABIS="1" |
64 |
+RESTRICT_PYTHON_ABIS="3.*" |
65 |
|
66 |
inherit distutils versionator |
67 |
|
68 |
MY_PN="HappyDoc" |
69 |
MY_PV=$(replace_all_version_separators "_" ${PV}) |
70 |
MY_V=$(get_major_version ${PV}) |
71 |
-DESCRIPTION="tool for extracting documentation from Python sourcecode" |
72 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}_r${MY_PV}.tar.gz" |
73 |
+ |
74 |
+DESCRIPTION="Tool for extracting documentation from Python source code" |
75 |
HOMEPAGE="http://happydoc.sourceforge.net/" |
76 |
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}_r${MY_PV}.tar.gz" |
77 |
|
78 |
-SLOT="0" |
79 |
LICENSE="as-is" |
80 |
+SLOT="0" |
81 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" |
82 |
IUSE="doc" |
83 |
|
84 |
-DEPEND="virtual/python" |
85 |
+DEPEND="" |
86 |
+RDEPEND="" |
87 |
|
88 |
-# the tests need extra data not present in the release tarball |
89 |
-RESTRICT=test |
90 |
+# Tests need extra data not present in the release tarball. |
91 |
+RESTRICT="test" |
92 |
|
93 |
S="${WORKDIR}/${MY_PN}${MY_V}-r${MY_PV}" |
94 |
|
95 |
-src_unpack() { |
96 |
- unpack ${A} |
97 |
- cd "${S}" |
98 |
- cp "${FILESDIR}/${P}-setup.py" "${S}/setup.py" || die "setup.py file not found" |
99 |
+PYTHON_MODNAME="happydoclib" |
100 |
+ |
101 |
+src_prepare() { |
102 |
+ distutils_src_prepare |
103 |
+ cp "${FILESDIR}/${P}-setup.py" setup.py || die "Copying of setup.py failed" |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
distutils_src_install |
108 |
|
109 |
if use doc; then |
110 |
- dohtml -r "srcdocs/${MY_PN}${MY_V}-r${MY_PV}"/* |
111 |
+ dohtml -r "srcdocs/${MY_PN}${MY_V}-r${MY_PV}"/* || die "Installation of documentation failed" |
112 |
fi |
113 |
} |