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