summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2004-01-13 18:32:01 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2004-01-13 18:32:01 +0000
commit370c4f937452ecf681c309bf47a2f4b301131bbe (patch)
tree0d341687eae1fa374b4ef514a41bfbf03adfce05 /net-mail/archivemail
parentFix for python 2.3. (diff)
downloadgentoo-2-370c4f937452ecf681c309bf47a2f4b301131bbe.tar.gz
gentoo-2-370c4f937452ecf681c309bf47a2f4b301131bbe.tar.bz2
gentoo-2-370c4f937452ecf681c309bf47a2f4b301131bbe.zip
Fix for python 2.3.
Diffstat (limited to 'net-mail/archivemail')
-rw-r--r--net-mail/archivemail/ChangeLog10
-rw-r--r--net-mail/archivemail/Manifest7
-rw-r--r--net-mail/archivemail/archivemail-0.6.1-r1.ebuild (renamed from net-mail/archivemail/archivemail-0.6.1.ebuild)10
-rw-r--r--net-mail/archivemail/files/digest-archivemail-0.6.1-r1 (renamed from net-mail/archivemail/files/digest-archivemail-0.6.1)0
4 files changed, 18 insertions, 9 deletions
diff --git a/net-mail/archivemail/ChangeLog b/net-mail/archivemail/ChangeLog
index 178c9faa0a9e..2e30d01dafb4 100644
--- a/net-mail/archivemail/ChangeLog
+++ b/net-mail/archivemail/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/archivemail
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/archivemail/ChangeLog,v 1.2 2003/06/05 03:33:48 jmorgan Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/archivemail/ChangeLog,v 1.3 2004/01/13 18:31:53 g2boojum Exp $
+
+*archivemail-0.6.1-r1 (13 Jan 2004)
+
+ 13 Jan 2004; Grant Goodyear <g2boojum@hotmail.com>
+ archivemail-0.6.1-r1.ebuild:
+ Quick patch for python 2.3.
04 Jun 2003; Jack Morgan <jmorgan@gentoo.org> archivemail-0.6.1.ebuild:
Added ~sparc keyword
diff --git a/net-mail/archivemail/Manifest b/net-mail/archivemail/Manifest
index 0a921ff4f406..0f3cf82712d5 100644
--- a/net-mail/archivemail/Manifest
+++ b/net-mail/archivemail/Manifest
@@ -1,7 +1,4 @@
-MD5 31172e4790b1374f40b361633cc3f533 archivemail-0.6.1.ebuild 679
-MD5 4eb2868f12ba5359c8424bb92fa1878e archivemail-0.6.1-r1.ebuild 710
-MD5 c3313008294fb9502a9b30b164cfd158 .archivemail-0.6.1-r1.ebuild.swp 12288
-MD5 a049314e3ed0d9d3988d5eb7a64e3179 ChangeLog 448
+MD5 da7b3b1327d3b007398a2c2c6978bb6c archivemail-0.6.1-r1.ebuild 838
+MD5 ebf154f66ed03e87e113f68b1b589e09 ChangeLog 601
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
-MD5 95ba0111b81bfefbcd9e5254e7b8091b files/digest-archivemail-0.6.1 68
MD5 95ba0111b81bfefbcd9e5254e7b8091b files/digest-archivemail-0.6.1-r1 68
diff --git a/net-mail/archivemail/archivemail-0.6.1.ebuild b/net-mail/archivemail/archivemail-0.6.1-r1.ebuild
index da8f0dce5a21..c53067906294 100644
--- a/net-mail/archivemail/archivemail-0.6.1.ebuild
+++ b/net-mail/archivemail/archivemail-0.6.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/archivemail/archivemail-0.6.1.ebuild,v 1.4 2003/09/05 08:58:51 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/archivemail/archivemail-0.6.1-r1.ebuild,v 1.1 2004/01/13 18:31:53 g2boojum Exp $
DESCRIPTION="Tool written in Python for archiving and compressing old email in mailboxes."
HOMEPAGE="http://archivemail.sourceforge.net/"
@@ -17,6 +17,12 @@ S=${WORKDIR}/${P}
inherit distutils
+src_unpack() {
+ unpack ${A}
+ # Assigning to None returns a syntax warning in Python 2.3
+ sed -ie 's/(None, last_dir)/(junk, last_dir)/' ${S}/archivemail
+}
+
src_install() {
mydoc="CHANGELOG COPYING FAQ MANIFEST PKG-INFO README TODO"
distutils_src_install
diff --git a/net-mail/archivemail/files/digest-archivemail-0.6.1 b/net-mail/archivemail/files/digest-archivemail-0.6.1-r1
index 888b25f74790..888b25f74790 100644
--- a/net-mail/archivemail/files/digest-archivemail-0.6.1
+++ b/net-mail/archivemail/files/digest-archivemail-0.6.1-r1