From b8d2f3eea5968a9686f9e06c89fbf7efcd59f616 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Fri, 28 Mar 2008 06:12:11 +0000 Subject: Version bump. Removed ebuild for previous version, as it contained bug, preventing it to run on python-2.3. (Portage version: 2.1.4.4) --- net-mail/getmail/ChangeLog | 9 ++++- net-mail/getmail/getmail-4.8.0.ebuild | 65 ----------------------------------- net-mail/getmail/getmail-4.8.1.ebuild | 65 +++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+), 66 deletions(-) delete mode 100644 net-mail/getmail/getmail-4.8.0.ebuild create mode 100644 net-mail/getmail/getmail-4.8.1.ebuild (limited to 'net-mail') diff --git a/net-mail/getmail/ChangeLog b/net-mail/getmail/ChangeLog index aa6529296f92..17fbd0a7ea85 100644 --- a/net-mail/getmail/ChangeLog +++ b/net-mail/getmail/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-mail/getmail # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.158 2008/02/29 22:10:53 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/ChangeLog,v 1.159 2008/03/28 06:12:11 ticho Exp $ + +*getmail-4.8.1 (28 Mar 2008) + + 28 Mar 2008; Andrej Kacian -getmail-4.8.0.ebuild, + +getmail-4.8.1.ebuild: + Version bump. Removed ebuild for previous version, as it contained bug, + preventing it to run on python-2.3. *getmail-4.8.0 (29 Feb 2008) diff --git a/net-mail/getmail/getmail-4.8.0.ebuild b/net-mail/getmail/getmail-4.8.0.ebuild deleted file mode 100644 index 982d76029754..000000000000 --- a/net-mail/getmail/getmail-4.8.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.8.0.ebuild,v 1.1 2008/02/29 22:10:53 ticho Exp $ - -inherit distutils - -IUSE="" -DESCRIPTION="A POP3 mail retriever with reliable Maildir and mbox delivery" -HOMEPAGE="http://pyropus.ca/software/getmail/" -SRC_URI="http://pyropus.ca/software/getmail/old-versions/${P}.tar.gz" - -SLOT="4" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" - -DEPEND=">=dev-lang/python-2.3.3" - -src_unpack() { - unpack ${A} - cd "${S}" - - # getmail.spec is missing due to upstream packaging mistake - sed -i -e '/getmail.spec/d' setup.py -} - -src_compile() { - distutils_src_compile -} - -src_install() { - distutils_src_install - - if has_version "=net-mail/getmail-3*" ; then - mv "${D}"/usr/bin/getmail "${D}"/usr/bin/getmail4 - mv "${D}"/usr/bin/getmail_maildir "${D}"/usr/bin/getmail_maildir4 - mv "${D}"/usr/bin/getmail_mbox "${D}"/usr/bin/getmail_mbox4 - fi - - # handle docs the gentoo way - rm "${D}"/usr/share/doc/${P}/COPYING - if [ ${P} != ${PF} ]; then - mv "${D}"/usr/share/doc/${P} "${D}"/usr/share/doc/${PF} - fi - - dodir /usr/share/doc/${PF}/html - mv "${D}"/usr/share/doc/${PF}/*.html "${D}"/usr/share/doc/${PF}/*.css "${D}"/usr/share/doc/${PF}/html -} - -pkg_postinst() { - python_version - python_mod_optimize /usr/lib/python${PYVER}/site-packages/getmailcore - - if has_version "=net-mail/getmail-3*" ; then - echo - ewarn "An already installed instance of getmail v3 was detected. In order to" - ewarn "co-exist with it the three main scripts of getmail v4 were renamed to" - ewarn "getmail4, getmail_maildir4, getmail_mbox4." - echo - fi -} - -pkg_postrm() { - python_version - python_mod_cleanup -} diff --git a/net-mail/getmail/getmail-4.8.1.ebuild b/net-mail/getmail/getmail-4.8.1.ebuild new file mode 100644 index 000000000000..d4f8c35b0eb4 --- /dev/null +++ b/net-mail/getmail/getmail-4.8.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/getmail/getmail-4.8.1.ebuild,v 1.1 2008/03/28 06:12:11 ticho Exp $ + +inherit distutils + +IUSE="" +DESCRIPTION="A POP3 mail retriever with reliable Maildir and mbox delivery" +HOMEPAGE="http://pyropus.ca/software/getmail/" +SRC_URI="http://pyropus.ca/software/getmail/old-versions/${P}.tar.gz" + +SLOT="4" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +DEPEND=">=dev-lang/python-2.3.3" + +src_unpack() { + unpack ${A} + cd "${S}" + + # getmail.spec is missing due to upstream packaging mistake + sed -i -e '/getmail.spec/d' setup.py +} + +src_compile() { + distutils_src_compile +} + +src_install() { + distutils_src_install + + if has_version "=net-mail/getmail-3*" ; then + mv "${D}"/usr/bin/getmail "${D}"/usr/bin/getmail4 + mv "${D}"/usr/bin/getmail_maildir "${D}"/usr/bin/getmail_maildir4 + mv "${D}"/usr/bin/getmail_mbox "${D}"/usr/bin/getmail_mbox4 + fi + + # handle docs the gentoo way + rm "${D}"/usr/share/doc/${P}/COPYING + if [ ${P} != ${PF} ]; then + mv "${D}"/usr/share/doc/${P} "${D}"/usr/share/doc/${PF} + fi + + dodir /usr/share/doc/${PF}/html + mv "${D}"/usr/share/doc/${PF}/*.html "${D}"/usr/share/doc/${PF}/*.css "${D}"/usr/share/doc/${PF}/html +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/lib/python${PYVER}/site-packages/getmailcore + + if has_version "=net-mail/getmail-3*" ; then + echo + ewarn "An already installed instance of getmail v3 was detected. In order to" + ewarn "co-exist with it the three main scripts of getmail v4 were renamed to" + ewarn "getmail4, getmail_maildir4, getmail_mbox4." + echo + fi +} + +pkg_postrm() { + python_version + python_mod_cleanup +} -- cgit v1.2.3-65-gdbad