diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-11-29 07:32:03 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-11-29 07:32:03 +0000 |
commit | e476bdd6971df7239557646a15add7ca163214d1 (patch) | |
tree | 2d4e95cdcd542ac674dac117406a7f3859094611 /dev-python/irc | |
parent | Bump (diff) | |
download | gentoo-2-e476bdd6971df7239557646a15add7ca163214d1.tar.gz gentoo-2-e476bdd6971df7239557646a15add7ca163214d1.tar.bz2 gentoo-2-e476bdd6971df7239557646a15add7ca163214d1.zip |
Bump
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/irc')
-rw-r--r-- | dev-python/irc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/irc/irc-5.0.1.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-python/irc/ChangeLog b/dev-python/irc/ChangeLog index 4d3dcb61c18b..edeefd034217 100644 --- a/dev-python/irc/ChangeLog +++ b/dev-python/irc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/irc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/irc/ChangeLog,v 1.3 2012/10/30 06:34:37 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/irc/ChangeLog,v 1.4 2012/11/29 07:32:03 patrick Exp $ + +*irc-5.0.1 (29 Nov 2012) + + 29 Nov 2012; Patrick Lauer <patrick@gentoo.org> +irc-5.0.1.ebuild: + Bump *irc-3.4.2 (30 Oct 2012) diff --git a/dev-python/irc/irc-5.0.1.ebuild b/dev-python/irc/irc-5.0.1.ebuild new file mode 100644 index 000000000000..8545ebcb7cf2 --- /dev/null +++ b/dev-python/irc/irc-5.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/irc/irc-5.0.1.ebuild,v 1.1 2012/11/29 07:32:03 patrick Exp $ + +EAPI="4" +PYTHON_DEPEND="*:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.5" + +inherit distutils eutils + +DESCRIPTION="IRC client framework written in Python." +HOMEPAGE="https://bitbucket.org/jaraco/irc http://pypi.python.org/pypi/irc" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="app-arch/unzip + app-text/dos2unix" + +RDEPEND="!>=dev-python/python-irclib-3.2.2" + +src_prepare() { + # Prevent setup from downloading hgtools package + dos2unix setup.py || die "Oops :(" + epatch "${FILESDIR}/irc-setup.py.3.4.2.patch" + + # Don't rely on hgtools for version + sed -e "s/use_hg_version=True/version=\"${PV}\"/" -i setup.py || die + sed -e "/^tag_/d" -i setup.cfg || die + + distutils_src_prepare +} + +src_install() { + distutils_src_install + + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + insinto "/usr/share/doc/${PF}/examples" + doins scripts/* + fi +} |