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.8.0.ebuild
Date: Fri, 29 Feb 2008 22:10:57
Message-Id: E1JVDRO-0003Bt-Hm@stork.gentoo.org
1 ticho 08/02/29 22:10:54
2
3 Modified: ChangeLog
4 Added: getmail-4.8.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.158 net-mail/getmail/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?rev=1.158&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?rev=1.158&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/ChangeLog?r1=1.157&r2=1.158
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v
19 retrieving revision 1.157
20 retrieving revision 1.158
21 diff -u -r1.157 -r1.158
22 --- ChangeLog 13 Feb 2008 21:56:13 -0000 1.157
23 +++ ChangeLog 29 Feb 2008 22:10:53 -0000 1.158
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.157 2008/02/13 21:56:13 ticho Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.158 2008/02/29 22:10:53 ticho Exp $
29 +
30 +*getmail-4.8.0 (29 Feb 2008)
31 +
32 + 29 Feb 2008; Andrej Kacian <ticho@g.o> +getmail-4.8.0.ebuild:
33 + Version bump.
34
35 *getmail-4.7.8 (13 Feb 2008)
36
37
38
39
40 1.1 net-mail/getmail/getmail-4.8.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.8.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/getmail/getmail-4.8.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: getmail-4.8.0.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.0.ebuild,v 1.1 2008/02/29 22:10:53 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_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 }
112
113
114
115 --
116 gentoo-commits@l.g.o mailing list