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