summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/offlineimap/ChangeLog9
-rw-r--r--net-mail/offlineimap/files/offlineimap-6.3.1-darwin10.patch11
-rw-r--r--net-mail/offlineimap/offlineimap-6.3.1.ebuild55
3 files changed, 74 insertions, 1 deletions
diff --git a/net-mail/offlineimap/ChangeLog b/net-mail/offlineimap/ChangeLog
index f0a5833b9bb5..1459c1c4e3c5 100644
--- a/net-mail/offlineimap/ChangeLog
+++ b/net-mail/offlineimap/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-mail/offlineimap
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/offlineimap/ChangeLog,v 1.55 2010/12/16 15:59:32 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/offlineimap/ChangeLog,v 1.56 2010/12/23 20:30:01 tomka Exp $
+
+*offlineimap-6.3.1 (23 Dec 2010)
+
+ 23 Dec 2010; Thomas Kahle <tomka@gentoo.org> +offlineimap-6.3.1.ebuild,
+ +files/offlineimap-6.3.1-darwin10.patch:
+ Bump to 6.3.1. Upstream was revived at a new location. Tarballs from github
+ don't work properly yet.
16 Dec 2010; Thomas Kahle <tomka@gentoo.org> metadata.xml:
adding myself as a maintainer
diff --git a/net-mail/offlineimap/files/offlineimap-6.3.1-darwin10.patch b/net-mail/offlineimap/files/offlineimap-6.3.1-darwin10.patch
new file mode 100644
index 000000000000..f6d9827ae245
--- /dev/null
+++ b/net-mail/offlineimap/files/offlineimap-6.3.1-darwin10.patch
@@ -0,0 +1,11 @@
+diff -U 3 -dHrN nicolas33-offlineimap-98f5181/offlineimap.py nicolas33-offlineimap-98f5181.new/offlineimap.py
+--- nicolas33-offlineimap-98f5181/offlineimap.py 2010-12-09 19:52:48.000000000 +0100
++++ nicolas33-offlineimap-98f5181.new/offlineimap.py 2010-12-23 21:08:32.000000000 +0100
+@@ -17,6 +17,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
++from locale import *
+ from offlineimap import OfflineImap
+
+ offlineimap = OfflineImap()
diff --git a/net-mail/offlineimap/offlineimap-6.3.1.ebuild b/net-mail/offlineimap/offlineimap-6.3.1.ebuild
new file mode 100644
index 000000000000..b58fa9035edb
--- /dev/null
+++ b/net-mail/offlineimap/offlineimap-6.3.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/offlineimap/offlineimap-6.3.1.ebuild,v 1.1 2010/12/23 20:30:01 tomka Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="threads ssl?"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit eutils distutils
+
+DESCRIPTION="Powerful IMAP/Maildir synchronization and reader support"
+HOMEPAGE="http://github.com/nicolas33/offlineimap"
+SRC_URI="http://dev.gentoo.org/~tomka/files/${PF}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc ssl"
+
+DEPEND="doc? ( app-text/docbook-sgml-utils )"
+RDEPEND=""
+
+# I already emailed upstream about sane tarball naming.
+S="${WORKDIR}/nicolas33-${PN}-98f5181"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}"/${PF}-darwin10.patch
+}
+
+src_compile() {
+ distutils_src_compile
+ if use doc ; then
+ docbook2man offlineimap.sgml || die "building manpage failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+ dodoc offlineimap.conf offlineimap.conf.minimal
+ if use doc ; then
+ doman offlineimap.1 || die "installing manpage failed"
+ fi
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+
+ elog ""
+ elog "You will need to configure offlineimap by creating ~/.offlineimaprc"
+ elog "Sample configurations are in /usr/share/doc/${PF}/"
+ elog ""
+}