summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-04-17 17:06:46 +0000
committerTorsten Veller <tove@gentoo.org>2010-04-17 17:06:46 +0000
commit961a6ce8e5f65ddc4683df2819003e1defd9020b (patch)
treebd19de4902b88627fb8762aeddeec78727d4b0fb /net-mail
parentalpha/arm/ia64/s390/sh/sparc/x86 stable wrt #314741 (diff)
downloadgentoo-2-961a6ce8e5f65ddc4683df2819003e1defd9020b.tar.gz
gentoo-2-961a6ce8e5f65ddc4683df2819003e1defd9020b.tar.bz2
gentoo-2-961a6ce8e5f65ddc4683df2819003e1defd9020b.zip
Works only with python-2 (#315331). Thanks to arfrever for the patch and ohnobinki for testing. More docdir workarounds
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/getmail/ChangeLog9
-rw-r--r--net-mail/getmail/getmail-4.16.0-r1.ebuild (renamed from net-mail/getmail/getmail-4.16.0.ebuild)29
2 files changed, 21 insertions, 17 deletions
diff --git a/net-mail/getmail/ChangeLog b/net-mail/getmail/ChangeLog
index 7769ed640c20..9b70c9d7c15b 100644
--- a/net-mail/getmail/ChangeLog
+++ b/net-mail/getmail/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-mail/getmail
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.175 2010/01/06 08:07:31 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.176 2010/04/17 17:06:46 tove Exp $
+
+*getmail-4.16.0-r1 (17 Apr 2010)
+
+ 17 Apr 2010; Torsten Veller <tove@gentoo.org> -getmail-4.16.0.ebuild,
+ +getmail-4.16.0-r1.ebuild:
+ Works only with python-2 (#315331). Thanks to arfrever for the patch and
+ ohnobinki for testing. More docdir workarounds
*getmail-4.16.0 (06 Jan 2010)
diff --git a/net-mail/getmail/getmail-4.16.0.ebuild b/net-mail/getmail/getmail-4.16.0-r1.ebuild
index c444a107a45c..35791ce7e71f 100644
--- a/net-mail/getmail/getmail-4.16.0.ebuild
+++ b/net-mail/getmail/getmail-4.16.0-r1.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.16.0.ebuild,v 1.1 2010/01/06 08:07:31 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.16.0-r1.ebuild,v 1.1 2010/04/17 17:06:46 tove Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -13,21 +17,14 @@ SLOT="4"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos ~x64-solaris"
IUSE=""
-DEPEND=">=dev-lang/python-2.3.3"
-RDEPEND="${DEPEND}"
-
-PYTHON_MODNAME=getmailcore
-
-src_install() {
- [[ -z ${ED} ]] && local ED=${D}
- distutils_src_install
+DEPEND=""
+RDEPEND=""
+RESTRICT_PYTHON_ABIS="3.*"
- # handle docs the gentoo way
- rm "${ED}"/usr/share/doc/${P}/COPYING || die
- if [[ ${P} != ${PF} ]] ; then
- mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die
- fi
+PYTHON_MODNAME="getmailcore"
- dodir /usr/share/doc/${PF}/html
- mv "${ED}"/usr/share/doc/${PF}/*.{html,css} "${ED}"/usr/share/doc/${PF}/html || die
+src_prepare() {
+ sed -i -e "s,'getmail-%s' % __version__,'${PF}'," \
+ -e "/docs\/COPYING/d" "${S}"/setup.py || die
+ distutils_src_prepare
}