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