Gentoo Archives: gentoo-dev

From: Torsten Veller <tove@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: gentoo-x86 commit in net-mail/getmail: ChangeLog getmail-4.9.2.ebuild
Date: Sun, 11 Oct 2009 15:14:58
Message-Id: 20091011171120.TA51e64.tv@veller.net
1 * "Fabian Groffen (grobian)" <grobian@g.o>:
2 > grobian 09/10/11 15:04:33
3 >
4 > Modified: ChangeLog getmail-4.9.2.ebuild
5 > Log:
6 > Use ED for Prefix compatability, marked ~ppc-macos and ~x64-solaris
7 > (Portage version: 2.2.00.14552-prefix/cvs/Darwin powerpc, RepoMan options: --force)
8 >
9 >
10 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.9.2.ebuild?rev=1.2&view=markup
11 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.9.2.ebuild?rev=1.2&content-type=text/plain
12 > diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.9.2.ebuild?r1=1.1&r2=1.2
13 >
14 > Index: getmail-4.9.2.ebuild
15 > ===================================================================
16 > RCS file: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.9.2.ebuild,v
17 > retrieving revision 1.1
18 > retrieving revision 1.2
19 > diff -u -r1.1 -r1.2
20 > --- getmail-4.9.2.ebuild 23 Jul 2009 19:27:29 -0000 1.1
21 > +++ getmail-4.9.2.ebuild 11 Oct 2009 15:04:33 -0000 1.2
22 > @@ -1,6 +1,6 @@
23 > # Copyright 1999-2009 Gentoo Foundation
24 > # Distributed under the terms of the GNU General Public License v2
25 > -# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.9.2.ebuild,v 1.1 2009/07/23 19:27:29 tove Exp $
26 > +# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.9.2.ebuild,v 1.2 2009/10/11 15:04:33 grobian Exp $
27 >
28 > inherit distutils
29 >
30 > @@ -10,7 +10,7 @@
31 >
32 > LICENSE="GPL-2"
33 > SLOT="4"
34 > -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
35 > +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~ppc-macos ~x64-solaris"
36 > IUSE=""
37 >
38 > DEPEND=">=dev-lang/python-2.3.3"
39 > @@ -19,14 +19,15 @@
40 > PYTHON_MODNAME=getmailcore
41 >
42 > src_install() {
43 > + [[ -z ${ED} ]] && local ED=${D}
44 > distutils_src_install
45 >
46 > # handle docs the gentoo way
47 > - rm "${D}"/usr/share/doc/${P}/COPYING || die
48 > + rm "${ED}"/usr/share/doc/${P}/COPYING || die
49 > if [[ ${P} != ${PF} ]] ; then
50 > - mv "${D}"/usr/share/doc/${P} "${D}"/usr/share/doc/${PF} || die
51 > + mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die
52 > fi
53 >
54 > dodir /usr/share/doc/${PF}/html
55 > - mv "${D}"/usr/share/doc/${PF}/*.{html,css} "${D}"/usr/share/doc/${PF}/html || die
56 > + mv "${ED}"/usr/share/doc/${PF}/*.{html,css} "${ED}"/usr/share/doc/${PF}/html || die
57 > }
58
59 Can you please explain these changes? What is ED? Why does it need
60 changes in the ebuild at all?
61 Where is the documentation?

Replies