Version bump.
authorAndrej Kacian <ticho@gentoo.org>
Sun, 13 Nov 2005 20:35:06 +0000 (20:35 +0000)
committerAndrej Kacian <ticho@gentoo.org>
Sun, 13 Nov 2005 20:35:06 +0000 (20:35 +0000)
Package-Manager: portage-2.0.53_rc7

net-mail/getmail/ChangeLog
net-mail/getmail/Manifest
net-mail/getmail/files/digest-getmail-4.4.2 [new file with mode: 0644]
net-mail/getmail/getmail-4.4.2.ebuild [new file with mode: 0644]

index 917f59a9c4859ed40a46a0d4775d11cf685ae2d7..eb2f467b1f1c12d70e91aa99e2fc665c24605193 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-mail/getmail
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.96 2005/11/10 23:25:46 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.97 2005/11/13 20:35:06 ticho Exp $
+
+*getmail-4.4.2 (13 Nov 2005)
+
+  13 Nov 2005; Andrej Kacian <ticho@gentoo.org> +getmail-4.4.2.ebuild:
+  Version bump.
 
 *getmail-4.4.1 (10 Nov 2005)
 
index 693110012c55558aea136176e2f89f8759bfaf5a..bfd3b9c3305f64e55285daf5191a1d67b5635940 100644 (file)
@@ -1,18 +1,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 c2481174e2ff2a92860a95d088304791 ChangeLog 12921
+MD5 24c86e1826740a31f4de972e4ff4ff0d ChangeLog 13039
 MD5 86240c0d474cc541504969f938a0e7f2 files/digest-getmail-4.3.11 66
 MD5 d416765253f23a5b4cfce084ddf4de6e files/digest-getmail-4.3.14 66
 MD5 0d4853cf0395a0aee0fdf5900ad6cdf6 files/digest-getmail-4.4.1 65
+MD5 0b9836f4abb9eaada38ef3906c316960 files/digest-getmail-4.4.2 65
 MD5 791dcd5fcb91b0c678d5d48fdd66cfc3 getmail-4.3.11.ebuild 1574
 MD5 d065dc93b43fefb1a71d3ccc51bfe5c6 getmail-4.3.14.ebuild 1721
 MD5 aff240dd5d8fffe76c4c7968008550ef getmail-4.4.1.ebuild 1575
+MD5 fa681d87048775386ad8522881480d58 getmail-4.4.2.ebuild 1575
 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDc9cIQlM6RnzZP+IRAg1pAJ9/I8kNMdy7B4OfmoXLM5bWsplP/wCgkxxL
-mMlAAbuQOqCIy8VeiVTqtRg=
-=FNM0
+iD8DBQFDd7HBQlM6RnzZP+IRAgRZAJ93XCnddCjqYfkO07W37ZTw6Y90jACfVUAN
+d3Wx7m5mznz2h8mArPX7BAA=
+=qvgu
 -----END PGP SIGNATURE-----
diff --git a/net-mail/getmail/files/digest-getmail-4.4.2 b/net-mail/getmail/files/digest-getmail-4.4.2
new file mode 100644 (file)
index 0000000..1e2f4f2
--- /dev/null
@@ -0,0 +1 @@
+MD5 39be53e828b91ba5307ff2c97fd6f105 getmail-4.4.2.tar.gz 136867
diff --git a/net-mail/getmail/getmail-4.4.2.ebuild b/net-mail/getmail/getmail-4.4.2.ebuild
new file mode 100644 (file)
index 0000000..b0c0a4e
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.4.2.ebuild,v 1.1 2005/11/13 20:35:06 ticho Exp $
+
+inherit distutils
+
+IUSE=""
+DESCRIPTION="A POP3 mail retriever with reliable Maildir and mbox delivery"
+HOMEPAGE="http://pyropus.ca/software/getmail/"
+SRC_URI="http://pyropus.ca/software/getmail/old-versions/${P}.tar.gz"
+
+SLOT="4"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+DEPEND=">=dev-lang/python-2.3.3"
+
+src_compile() {
+       distutils_src_compile
+}
+
+src_install() {
+       distutils_src_install
+
+       if has_version "=net-mail/getmail-3*" ; then
+               mv ${D}/usr/bin/getmail ${D}/usr/bin/getmail4
+               mv ${D}/usr/bin/getmail_maildir ${D}/usr/bin/getmail_maildir4
+               mv ${D}/usr/bin/getmail_mbox ${D}/usr/bin/getmail_mbox4
+       fi
+
+       # handle docs the gentoo way
+       if [ ${P} != ${PF} ]; then
+               mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF}
+       fi
+
+       dodir /usr/share/doc/${PF}/html
+       mv ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/*.css ${D}/usr/share/doc/${PF}/html
+       gzip --silent ${D}/usr/share/doc/${PF}/*
+}
+
+pkg_postinst() {
+       python_version
+       python_mod_optimize /usr/lib/python${PYVER}/site-packages/getmailcore
+
+       if has_version "=net-mail/getmail-3*" ; then
+               echo
+               ewarn "An already installed instance of getmail v3 was detected. In order to"
+               ewarn "co-exist with it the three main scripts of getmail v4 were renamed to"
+               ewarn "getmail4, getmail_maildir4, getmail_mbox4."
+               echo
+       fi
+}
+
+pkg_postrm() {
+       python_version
+       python_mod_cleanup
+}