From 40e9d3f0cae11b9265c4a9115c017c85364c151f Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 7 Jan 2010 11:28:09 +0000 Subject: Fixed for and marked ~{ppc,x86,x64}-macos (Portage version: 2.2.00.15171-prefix/cvs/Darwin powerpc) --- net-mail/offlineimap/ChangeLog | 8 ++++- .../files/offlineimap-6.2.0-darwin10.patch | 13 ++++++++ net-mail/offlineimap/offlineimap-6.2.0-r1.ebuild | 36 ++++++++++++++++++++++ 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 net-mail/offlineimap/files/offlineimap-6.2.0-darwin10.patch create mode 100644 net-mail/offlineimap/offlineimap-6.2.0-r1.ebuild (limited to 'net-mail') diff --git a/net-mail/offlineimap/ChangeLog b/net-mail/offlineimap/ChangeLog index d0568c211170..4e37be9e9c02 100644 --- a/net-mail/offlineimap/ChangeLog +++ b/net-mail/offlineimap/ChangeLog @@ -1,6 +1,12 @@ # 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.47 2010/01/06 19:21:51 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/offlineimap/ChangeLog,v 1.48 2010/01/07 11:28:08 grobian Exp $ + +*offlineimap-6.2.0-r1 (07 Jan 2010) + + 07 Jan 2010; Fabian Groffen + +offlineimap-6.2.0-r1.ebuild, +files/offlineimap-6.2.0-darwin10.patch: + Fixed for and marked ~{ppc,x86,x64}-macos 06 Jan 2010; Christian Faulhammer offlineimap-6.2.0.ebuild: diff --git a/net-mail/offlineimap/files/offlineimap-6.2.0-darwin10.patch b/net-mail/offlineimap/files/offlineimap-6.2.0-darwin10.patch new file mode 100644 index 000000000000..39607d3bcd6e --- /dev/null +++ b/net-mail/offlineimap/files/offlineimap-6.2.0-darwin10.patch @@ -0,0 +1,13 @@ +http://pogma.com/2009/09/09/snow-leopard-and-offlineimap/ +http://bugs.gentoo.org/show_bug.cgi?id=284925 +http://openradar.appspot.com/7209349 + +--- offlineimap ++++ offlineimap +@@ -17,5 +17,6 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + ++from locale import * + from offlineimap import init + init.startup('6.2.0') diff --git a/net-mail/offlineimap/offlineimap-6.2.0-r1.ebuild b/net-mail/offlineimap/offlineimap-6.2.0-r1.ebuild new file mode 100644 index 000000000000..04fe4d7af615 --- /dev/null +++ b/net-mail/offlineimap/offlineimap-6.2.0-r1.ebuild @@ -0,0 +1,36 @@ +# 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.2.0-r1.ebuild,v 1.1 2010/01/07 11:28:08 grobian Exp $ + +EAPI=2 + +inherit eutils distutils + +S="${WORKDIR}/${PN}" +DESCRIPTION="Powerful IMAP/Maildir synchronization and reader support" +SRC_URI="mirror://debian/pool/main/o/offlineimap/${P/-/_}.tar.gz" +HOMEPAGE="http://software.complete.org/offlineimap" +LICENSE="GPL-2" +IUSE="ssl" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +SLOT="0" + +DEPEND="" +RDEPEND="dev-lang/python[threads] + ssl? ( dev-lang/python[ssl] ) " + +src_prepare() { + epatch "${FILESDIR}"/${P}-darwin10.patch +} + +src_install() { + distutils_src_install + dodoc offlineimap.conf offlineimap.conf.minimal offlineimap.sgml +} + +pkg_postinst() { + elog "" + elog "You will need to configure offlineimap by creating ~/.offlineimaprc" + elog "Sample configurations are in /usr/share/doc/${P}/" + elog "" +} -- cgit v1.2.3-65-gdbad