Gentoo Archives: gentoo-commits

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