Commits

Laurent Bachelier committed 8daa82c

Add dev-python/irc 3.6

  • Participants
  • Parent commits 25e563e

Comments (0)

Files changed (2)

File dev-python/irc/Manifest

 DIST irc-3.2.3.zip 84737 SHA256 de34f79e688375f1b199ae70b5ac7c6ad7ba00a3526d54d96b8fabe5f3cc3ddf SHA512 32f20df2758913d8ab4b6e4fc15bb563bd664c5649a753a1e08f970a189ea1e0a25a68b9a61510ab87b28bdf2489c06d44acb63e311e5585d99ae3eb326b9abe WHIRLPOOL dba4beea662be5719f5de8668441dcb5936a7e12eceff15bac46822fd3cf41f5914ca256b500634e2722e203e487d18eaa77245dba6ff74f5ef821f733321ea0
 DIST irc-3.4.2.zip 87053 SHA256 671e20e39a1684aeef5e006334dd4d3a5ed10fc1142bd9e91a50a861f51c2d75 SHA512 d48997f98deae30b554b29618155a827702a2e333d907483157c1d48894ab3beea999c2c7f89571552a1ff54e62964f80afbb7374e693fec4afa9faa1570ce2b WHIRLPOOL 751b31f213878505b9e104fdd2c984b2c8d7059c062a9b073f0b197db897021dada82010c1f7fcd49a8069dc641a04f95ce2a519fb2dfa0d050c16f4494c741f
 DIST irc-3.5.zip 87073 SHA256 d0fce61d863673946cf10a36b0baf123860f25f033e68ee883522596db24051c SHA512 c4f5c77c8b77abb182e2e9c6ebc8d86d80ec083ede7b9780e5af23c1769bdbdf2fbb93bf0caeda356c2751e245556d9d72b787fd86c8ba562c51d0fa8c918567 WHIRLPOOL 649844c88f68a22c267e8fd3d56804ce68f01aaef162ea048644ae703b9bfe80684aa2cc1d4df10b82be667ed0ed5f75efbdd172bd4a30ad2cb156060558decf
+DIST irc-3.6.zip 87774 SHA256 ccb4dda0263d3d4e4d64646403bc3af80e0633851191f3cfcfe56f8dd737c51a SHA512 726a6f0dd86012f04d299d26c11a48d10e3731ebc2d21a49db79be212dde6dd4ba37063d544e02082f96cf289199a999af79734ddf626712ffe8552040b4c9c3 WHIRLPOOL 67a058796e28e9ef6412666e314e6e8135e83838fc3d78a3d4d11d8bcae22f8e18cf1d9a9434f8d6e3d211c0671c4747c596dc1a774fef1bbe99a0cb4fad3575

File dev-python/irc/irc-3.6.ebuild

+# Copyright 2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5"
+
+inherit distutils
+
+DESCRIPTION="IRC (Internet Relay Chat) protocol client library for Python"
+HOMEPAGE="http://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="doc"
+
+DEPEND=""
+RDEPEND=""
+
+distutils_src_compile_pre_hook() {
+	sed -e "/hgtools/d" -i *.py
+	sed -e "/pytest-runner/d" -i *.py
+
+	sed -e "s/use_hg_version=True/version=\"${PV}\"/" -i setup.py
+}
+
+distutils_src_install_post_hook() {
+	if use doc; then
+		insinto "/usr/share/doc/${PF}/scripts"
+		doins scripts/*
+	fi
+}
+
+DOCS="README CHANGES COPYING"