summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/getmail/ChangeLog7
-rw-r--r--net-mail/getmail/Manifest26
-rw-r--r--net-mail/getmail/files/digest-getmail-4.2.51
-rw-r--r--net-mail/getmail/files/digest-getmail-4.2.5-r11
-rw-r--r--net-mail/getmail/files/digest-getmail-4.2.61
-rw-r--r--net-mail/getmail/files/digest-getmail-4.3.01
-rw-r--r--net-mail/getmail/files/digest-getmail-4.3.11
-rw-r--r--net-mail/getmail/files/digest-getmail-4.3.1-r11
-rw-r--r--net-mail/getmail/files/digest-getmail-4.3.21
-rw-r--r--net-mail/getmail/getmail-4.2.5-r1.ebuild55
-rw-r--r--net-mail/getmail/getmail-4.2.5.ebuild49
-rw-r--r--net-mail/getmail/getmail-4.2.6.ebuild49
-rw-r--r--net-mail/getmail/getmail-4.3.0.ebuild49
-rw-r--r--net-mail/getmail/getmail-4.3.1-r1.ebuild55
-rw-r--r--net-mail/getmail/getmail-4.3.1.ebuild49
-rw-r--r--net-mail/getmail/getmail-4.3.2.ebuild55
16 files changed, 12 insertions, 389 deletions
diff --git a/net-mail/getmail/ChangeLog b/net-mail/getmail/ChangeLog
index 9abd191f4368..977b01b9ffd6 100644
--- a/net-mail/getmail/ChangeLog
+++ b/net-mail/getmail/ChangeLog
@@ -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.62 2005/03/30 20:42:31 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.63 2005/03/30 23:30:00 ticho Exp $
+
+ 30 Mar 2005; Andrej Kacian <ticho@gentoo.org> -getmail-4.2.5.ebuild,
+ -getmail-4.2.5-r1.ebuild, -getmail-4.2.6.ebuild, -getmail-4.3.0.ebuild,
+ -getmail-4.3.1.ebuild, -getmail-4.3.1-r1.ebuild, -getmail-4.3.2.ebuild:
+ Removed old deprecated ebuilds.
30 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> getmail-4.3.3.ebuild:
Stable on alpha, bug 87181.
diff --git a/net-mail/getmail/Manifest b/net-mail/getmail/Manifest
index f21763ca1a37..01a8c38fbc00 100644
--- a/net-mail/getmail/Manifest
+++ b/net-mail/getmail/Manifest
@@ -1,31 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 760e60f22baba104ef4ee705dc2fed81 getmail-4.3.1.ebuild 1435
-MD5 158c49ae00742359b54005f3b53d235d getmail-4.2.5-r1.ebuild 1550
-MD5 b27163e23b84861be0c22502fc524754 getmail-4.2.5.ebuild 1433
-MD5 1d8f8855b6b97280fba307c218f8f3d7 getmail-4.3.0.ebuild 1436
-MD5 fdef5056f5957616e00845af65dca038 getmail-4.3.3.ebuild 1536
-MD5 fe77785459533c0e5bbeb1d702b8702e ChangeLog 8773
+MD5 50f3dbec8eaf31edd80fb286899367b0 ChangeLog 9026
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 f1032dbafab697aba8d06ec5b098dd46 getmail-4.3.4.ebuild 1536
-MD5 1cb8ff1565540d618b350013e1dc2d7e getmail-4.3.1-r1.ebuild 1543
-MD5 3c80ce57eb3b93c3922c3426a76d5c74 getmail-4.3.2.ebuild 1540
-MD5 8d3f05527d005eefb0f7c3c48b366b50 getmail-4.2.6.ebuild 1436
-MD5 94d0d625767272d78892b2cde0e7b41d files/digest-getmail-4.2.5-r1 65
+MD5 fdef5056f5957616e00845af65dca038 getmail-4.3.3.ebuild 1536
+MD5 a76ebc67214c74977c6a6191b3c4362a files/python2.4-fix.patch 3119
MD5 764ab11154c7919b1b4c9e3ba91d3c8d files/digest-getmail-4.3.3 65
-MD5 7e6a2b6fbe17c42e8eb34c370f432661 files/digest-getmail-4.3.1-r1 65
-MD5 479383244ba9dcf857062301ec83d5d8 files/digest-getmail-4.3.0 65
MD5 ff20696bcca438d803e7db5eb143f566 files/digest-getmail-4.3.4 65
-MD5 94d0d625767272d78892b2cde0e7b41d files/digest-getmail-4.2.5 65
-MD5 7e6a2b6fbe17c42e8eb34c370f432661 files/digest-getmail-4.3.1 65
-MD5 a76ebc67214c74977c6a6191b3c4362a files/python2.4-fix.patch 3119
-MD5 96d91afcf030231acb461620cd8a638f files/digest-getmail-4.3.2 65
-MD5 ff8ffca20907f92c1560cd57fc63bcce files/digest-getmail-4.2.6 65
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFCSw9OugEuf3OQ0akRAiWpAJ9VsRsAbGJIEoJ0zuRYOiwylokAygCeOlvr
-h55EmB4QSJeCo97SwFRKl0s=
-=63ZF
+iD8DBQFCSzaDQlM6RnzZP+IRAo58AJ9g/DHDAOuPV9fge27R1aIfGFi6+ACgnpeG
+SzbU5eM3tboEObrxJiZP5Io=
+=Gyez
-----END PGP SIGNATURE-----
diff --git a/net-mail/getmail/files/digest-getmail-4.2.5 b/net-mail/getmail/files/digest-getmail-4.2.5
deleted file mode 100644
index 3badf2c58e67..000000000000
--- a/net-mail/getmail/files/digest-getmail-4.2.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 30f1528598db4e507aed4565c3f76d30 getmail-4.2.5.tar.gz 123810
diff --git a/net-mail/getmail/files/digest-getmail-4.2.5-r1 b/net-mail/getmail/files/digest-getmail-4.2.5-r1
deleted file mode 100644
index 3badf2c58e67..000000000000
--- a/net-mail/getmail/files/digest-getmail-4.2.5-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 30f1528598db4e507aed4565c3f76d30 getmail-4.2.5.tar.gz 123810
diff --git a/net-mail/getmail/files/digest-getmail-4.2.6 b/net-mail/getmail/files/digest-getmail-4.2.6
deleted file mode 100644
index 0b42c1c6750f..000000000000
--- a/net-mail/getmail/files/digest-getmail-4.2.6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 16855e2f58c4e32c7e48dcb1cfbdf3bb getmail-4.2.6.tar.gz 126909
diff --git a/net-mail/getmail/files/digest-getmail-4.3.0 b/net-mail/getmail/files/digest-getmail-4.3.0
deleted file mode 100644
index 1829b5a486de..000000000000
--- a/net-mail/getmail/files/digest-getmail-4.3.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 32baf95f8291a66c5303518aa74dfd20 getmail-4.3.0.tar.gz 128803
diff --git a/net-mail/getmail/files/digest-getmail-4.3.1 b/net-mail/getmail/files/digest-getmail-4.3.1
deleted file mode 100644
index 99e62a8cbb4f..000000000000
--- a/net-mail/getmail/files/digest-getmail-4.3.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 5b73b4b068d8d070ef01d31c7b553d35 getmail-4.3.1.tar.gz 128854
diff --git a/net-mail/getmail/files/digest-getmail-4.3.1-r1 b/net-mail/getmail/files/digest-getmail-4.3.1-r1
deleted file mode 100644
index 99e62a8cbb4f..000000000000
--- a/net-mail/getmail/files/digest-getmail-4.3.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 5b73b4b068d8d070ef01d31c7b553d35 getmail-4.3.1.tar.gz 128854
diff --git a/net-mail/getmail/files/digest-getmail-4.3.2 b/net-mail/getmail/files/digest-getmail-4.3.2
deleted file mode 100644
index f6ee13b68c6f..000000000000
--- a/net-mail/getmail/files/digest-getmail-4.3.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 be863c1772bfd734ec118fb1e3d48780 getmail-4.3.2.tar.gz 131784
diff --git a/net-mail/getmail/getmail-4.2.5-r1.ebuild b/net-mail/getmail/getmail-4.2.5-r1.ebuild
deleted file mode 100644
index fd96735f7757..000000000000
--- a/net-mail/getmail/getmail-4.2.5-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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.2.5-r1.ebuild,v 1.2 2005/02/17 18:17:07 ticho Exp $
-
-inherit distutils eutils
-
-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="~x86 ~ppc ~sparc ~alpha ~amd64"
-
-DEPEND=">=dev-lang/python-2.3.3"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/python2.4-fix.patch || die "epatch failed"
-}
-
-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
-
- mkdir ${D}/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() {
- 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
-}
diff --git a/net-mail/getmail/getmail-4.2.5.ebuild b/net-mail/getmail/getmail-4.2.5.ebuild
deleted file mode 100644
index 214f91eb6a14..000000000000
--- a/net-mail/getmail/getmail-4.2.5.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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.2.5.ebuild,v 1.10 2005/02/21 14:35:44 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="x86 ppc sparc alpha amd64"
-
-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
-
- mkdir ${D}/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() {
- 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
-}
diff --git a/net-mail/getmail/getmail-4.2.6.ebuild b/net-mail/getmail/getmail-4.2.6.ebuild
deleted file mode 100644
index 3f3377d53825..000000000000
--- a/net-mail/getmail/getmail-4.2.6.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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.2.6.ebuild,v 1.3 2005/02/17 18:17:07 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="x86 ~ppc ~sparc ~alpha ~amd64"
-
-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
-
- mkdir ${D}/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() {
- 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
-}
diff --git a/net-mail/getmail/getmail-4.3.0.ebuild b/net-mail/getmail/getmail-4.3.0.ebuild
deleted file mode 100644
index 8508233582c0..000000000000
--- a/net-mail/getmail/getmail-4.3.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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.3.0.ebuild,v 1.3 2005/02/17 18:17:07 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="x86 ~ppc ~sparc ~alpha ~amd64"
-
-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
-
- mkdir ${D}/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() {
- 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
-}
diff --git a/net-mail/getmail/getmail-4.3.1-r1.ebuild b/net-mail/getmail/getmail-4.3.1-r1.ebuild
deleted file mode 100644
index fb3f3e29aa75..000000000000
--- a/net-mail/getmail/getmail-4.3.1-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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.3.1-r1.ebuild,v 1.2 2005/02/17 18:17:07 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="~x86 ~ppc ~sparc ~alpha ~amd64"
-
-DEPEND=">=dev-lang/python-2.3.3"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/python2.4-fix.patch || die "epatch failed"
-}
-
-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
-
- mkdir ${D}/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() {
- 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
-}
diff --git a/net-mail/getmail/getmail-4.3.1.ebuild b/net-mail/getmail/getmail-4.3.1.ebuild
deleted file mode 100644
index a41b8db2a243..000000000000
--- a/net-mail/getmail/getmail-4.3.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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.3.1.ebuild,v 1.5 2005/03/19 15:23:23 kloeri 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="x86 ~ppc sparc alpha ~amd64"
-
-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
-
- mkdir ${D}/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() {
- 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
-}
diff --git a/net-mail/getmail/getmail-4.3.2.ebuild b/net-mail/getmail/getmail-4.3.2.ebuild
deleted file mode 100644
index a646320180ab..000000000000
--- a/net-mail/getmail/getmail-4.3.2.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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.3.2.ebuild,v 1.3 2005/02/17 18:17:07 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="~x86 ~ppc ~sparc ~alpha ~amd64"
-
-DEPEND=">=dev-lang/python-2.3.3"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/python2.4-fix.patch || die "epatch failed"
-}
-
-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
-
- mkdir ${D}/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() {
- 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
-}