Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/getmail: ChangeLog getmail-4.9.0.ebuild
Date: Tue, 07 Apr 2009 05:30:12
Message-Id: E1Lr3sw-0005n9-LS@stork.gentoo.org
1 tove 09/04/07 05:30:10
2
3 Modified: ChangeLog
4 Added: getmail-4.9.0.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc28/cvs/Linux i686)
8
9 Revision Changes Path
10 1.162 net-mail/getmail/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?rev=1.162&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?rev=1.162&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?r1=1.161&r2=1.162
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v
19 retrieving revision 1.161
20 retrieving revision 1.162
21 diff -u -r1.161 -r1.162
22 --- ChangeLog 27 Sep 2008 09:43:45 -0000 1.161
23 +++ ChangeLog 7 Apr 2009 05:30:10 -0000 1.162
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-mail/getmail
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.161 2008/09/27 09:43:45 tove Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.162 2009/04/07 05:30:10 tove Exp $
30 +
31 +*getmail-4.9.0 (07 Apr 2009)
32 +
33 + 07 Apr 2009; Torsten Veller <tove@g.o> +getmail-4.9.0.ebuild:
34 + Version bump
35
36 27 Sep 2008; Torsten Veller <tove@g.o> -getmail-4.7.7.ebuild,
37 -getmail-4.7.8.ebuild:
38
39
40
41 1.1 net-mail/getmail/getmail-4.9.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.9.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.9.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: getmail-4.9.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.9.0.ebuild,v 1.1 2009/04/07 05:30:10 tove Exp $
51
52 inherit distutils
53
54 IUSE=""
55 DESCRIPTION="A POP3 mail retriever with reliable Maildir and mbox delivery"
56 HOMEPAGE="http://pyropus.ca/software/getmail/"
57 SRC_URI="http://pyropus.ca/software/getmail/old-versions/${P}.tar.gz"
58
59 SLOT="4"
60 LICENSE="GPL-2"
61 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
62
63 DEPEND=">=dev-lang/python-2.3.3"
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68
69 # getmail.spec is missing due to upstream packaging mistake
70 sed -i -e '/getmail.spec/d' setup.py
71 }
72
73 src_compile() {
74 distutils_src_compile
75 }
76
77 src_install() {
78 distutils_src_install
79
80 if has_version "=net-mail/getmail-3*" ; then
81 mv "${D}"/usr/bin/getmail "${D}"/usr/bin/getmail4
82 mv "${D}"/usr/bin/getmail_maildir "${D}"/usr/bin/getmail_maildir4
83 mv "${D}"/usr/bin/getmail_mbox "${D}"/usr/bin/getmail_mbox4
84 fi
85
86 # handle docs the gentoo way
87 rm "${D}"/usr/share/doc/${P}/COPYING
88 if [ ${P} != ${PF} ]; then
89 mv "${D}"/usr/share/doc/${P} "${D}"/usr/share/doc/${PF}
90 fi
91
92 dodir /usr/share/doc/${PF}/html
93 mv "${D}"/usr/share/doc/${PF}/*.html "${D}"/usr/share/doc/${PF}/*.css "${D}"/usr/share/doc/${PF}/html
94 }
95
96 pkg_postinst() {
97 python_version
98 python_mod_optimize /usr/lib/python${PYVER}/site-packages/getmailcore
99
100 if has_version "=net-mail/getmail-3*" ; then
101 echo
102 ewarn "An already installed instance of getmail v3 was detected. In order to"
103 ewarn "co-exist with it the three main scripts of getmail v4 were renamed to"
104 ewarn "getmail4, getmail_maildir4, getmail_mbox4."
105 echo
106 fi
107 }
108
109 pkg_postrm() {
110 python_version
111 python_mod_cleanup
112 }