Gentoo Archives: gentoo-commits

From: "Andrej Kacian (ticho)" <ticho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/getmail: ChangeLog getmail-4.7.7.ebuild
Date: Thu, 08 Nov 2007 18:12:18
Message-Id: E1IqBrM-0003SB-32@stork.gentoo.org
1 ticho 07/11/08 18:12:08
2
3 Modified: ChangeLog
4 Added: getmail-4.7.7.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.15)
8
9 Revision Changes Path
10 1.152 net-mail/getmail/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?rev=1.152&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?rev=1.152&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?r1=1.151&r2=1.152
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v
19 retrieving revision 1.151
20 retrieving revision 1.152
21 diff -u -r1.151 -r1.152
22 --- ChangeLog 9 Aug 2007 21:57:37 -0000 1.151
23 +++ ChangeLog 8 Nov 2007 18:12:07 -0000 1.152
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-mail/getmail
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.151 2007/08/09 21:57:37 ticho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.152 2007/11/08 18:12:07 ticho Exp $
29 +
30 +*getmail-4.7.7 (08 Nov 2007)
31 +
32 + 08 Nov 2007; Andrej Kacian <ticho@g.o> +getmail-4.7.7.ebuild:
33 + Version bump.
34
35 *getmail-4.7.6 (09 Aug 2007)
36
37
38
39
40 1.1 net-mail/getmail/getmail-4.7.7.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.7.7.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.7.7.ebuild?rev=1.1&content-type=text/plain
44
45 Index: getmail-4.7.7.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.7.7.ebuild,v 1.1 2007/11/08 18:12:07 ticho 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_compile() {
65 distutils_src_compile
66 }
67
68 src_install() {
69 distutils_src_install
70
71 if has_version "=net-mail/getmail-3*" ; then
72 mv ${D}/usr/bin/getmail ${D}/usr/bin/getmail4
73 mv ${D}/usr/bin/getmail_maildir ${D}/usr/bin/getmail_maildir4
74 mv ${D}/usr/bin/getmail_mbox ${D}/usr/bin/getmail_mbox4
75 fi
76
77 # handle docs the gentoo way
78 if [ ${P} != ${PF} ]; then
79 mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
80 fi
81
82 dodir /usr/share/doc/${PF}/html
83 mv ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/*.css ${D}/usr/share/doc/${PF}/html
84 }
85
86 pkg_postinst() {
87 python_version
88 python_mod_optimize /usr/lib/python${PYVER}/site-packages/getmailcore
89
90 if has_version "=net-mail/getmail-3*" ; then
91 echo
92 ewarn "An already installed instance of getmail v3 was detected. In order to"
93 ewarn "co-exist with it the three main scripts of getmail v4 were renamed to"
94 ewarn "getmail4, getmail_maildir4, getmail_mbox4."
95 echo
96 fi
97 }
98
99 pkg_postrm() {
100 python_version
101 python_mod_cleanup
102 }
103
104
105
106 --
107 gentoo-commits@g.o mailing list