Gentoo Archives: gentoo-commits

From: "Theo Chatzimichos (tampakrap)" <tampakrap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/mhonarc-gentoo: ChangeLog mhonarc-gentoo-2.6.18.ebuild
Date: Mon, 02 May 2011 22:37:45
Message-Id: 20110502223734.D455F20054@flycatcher.gentoo.org
1 tampakrap 11/05/02 22:37:34
2
3 Modified: ChangeLog mhonarc-gentoo-2.6.18.ebuild
4 Log:
5 Cleanup: EAPI 4, use perl-module instead of perl-app eclass, introduce a MY_P var, remove prepalldocs, move the patch to a PATCHES array
6
7 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 net-mail/mhonarc-gentoo/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mhonarc-gentoo/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mhonarc-gentoo/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mhonarc-gentoo/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/mhonarc-gentoo/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 2 May 2011 22:21:32 -0000 1.1
23 +++ ChangeLog 2 May 2011 22:37:34 -0000 1.2
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-mail/mhonarc-gentoo
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mhonarc-gentoo/ChangeLog,v 1.1 2011/05/02 22:21:32 tampakrap Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mhonarc-gentoo/ChangeLog,v 1.2 2011/05/02 22:37:34 tampakrap Exp $
29 +
30 + 02 May 2011; Theo Chatzimichos <tampakrap@g.o>
31 + mhonarc-gentoo-2.6.18.ebuild:
32 + Cleanup: EAPI 4, use perl-module instead of perl-app eclass, introduce a MY_P
33 + var, remove prepalldocs, move the patch to a PATCHES array
34
35 *mhonarc-gentoo-2.6.18 (02 May 2011)
36
37
38
39
40 1.2 net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18.ebuild?rev=1.2&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18.ebuild?rev=1.2&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18.ebuild?r1=1.1&r2=1.2
45
46 Index: mhonarc-gentoo-2.6.18.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18.ebuild,v
49 retrieving revision 1.1
50 retrieving revision 1.2
51 diff -u -r1.1 -r1.2
52 --- mhonarc-gentoo-2.6.18.ebuild 2 May 2011 22:21:32 -0000 1.1
53 +++ mhonarc-gentoo-2.6.18.ebuild 2 May 2011 22:37:34 -0000 1.2
54 @@ -1,34 +1,30 @@
55 # Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18.ebuild,v 1.1 2011/05/02 22:21:32 tampakrap Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mhonarc-gentoo/mhonarc-gentoo-2.6.18.ebuild,v 1.2 2011/05/02 22:37:34 tampakrap Exp $
59
60 -inherit perl-app
61 +EAPI=4
62
63 -IUSE=""
64 -
65 -SRC_URI="http://www.mhonarc.org/release/MHonArc/tar/MHonArc-${PV}.tar.bz2"
66 -RESTRICT="mirror"
67 +inherit perl-module
68
69 DESCRIPTION="Perl Mail-to-HTML Converter, Gentoo fork"
70 HOMEPAGE="http://www.mhonarc.org/"
71 LICENSE="GPL-2"
72 +SRC_URI="http://www.mhonarc.org/release/MHonArc/tar/MHonArc-${PV}.tar.bz2"
73
74 SLOT="0"
75 KEYWORDS="~amd64 ~x86"
76 +IUSE=""
77
78 RDEPEND="!net-mail/mhonarc"
79
80 -S="${WORKDIR}/${P/mhonarc-gentoo/MHonArc}"
81 +MY_P="${P/mhonarc-gentoo/MHonArc}"
82 +S="${WORKDIR}/${MY_P}"
83
84 -src_unpack() {
85 - unpack ${A}
86 - cd "${S}"
87 - epatch "${FILESDIR}"/${P}-archives-gentoo.patch
88 -}
89 +PATCHES=( "${FILESDIR}/${P}-archives-gentoo.patch" )
90
91 src_install() {
92 sed -e "s|-prefix |-docpath '${D}/usr/share/doc/${PF}' -prefix '${D}'|g" -i Makefile
93 sed -e "s|installsitelib|installvendorlib|g" -i install.me
94 +
95 perl-module_src_install
96 - prepalldocs
97 }