diff options
Diffstat (limited to 'net-mail/getmail')
-rw-r--r-- | net-mail/getmail/ChangeLog | 9 | ||||
-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 } |