Permalink
Browse files

Update irc to 3.2, keep old for now

  • Loading branch information...
1 parent 03a2fe9 commit 4d4b12b67d29109157df1753adec539c00ac8b0c @laurentb committed Oct 10, 2012
Showing with 36 additions and 0 deletions.
  1. +1 −0 dev-python/irc/Manifest
  2. +35 −0 dev-python/irc/irc-3.2.ebuild
View
@@ -1 +1,2 @@
DIST irc-3.0.1.zip 109225 SHA256 ab0e31f7db5e26cddfc8b38ad222b73783e41138b290652fa2b1e178d83084a2 SHA512 11816eefb77d71304f9f18d91785a9497493797e6b0e3165df7e25ad2fba537b34fb6108e1215960c8dc2bb4afee0e905f18005afbbbff7a4f59b28fe3599ca9 WHIRLPOOL 1d3050653177bfb14dbccb35a258177700e0ef23cd4b19d5b71942c6381acb87b0652534984b31f9ae4ecc39582a58d0be22d893d4e2e1a8c4ce9478415cb3f8
+DIST irc-3.2.zip 84246 SHA256 bc0b0f40dc39b09e2f564c82da5abb85ee4f0875d9efb2e8ed54efaac9ac54dd SHA512 d4d9de1a44fd2d0b6c9766e7eb8a8f6b383e56174eb33a07c70d474d53b43eeb964baac820cbfd2004efed50748c2d491858d7fecd63e7ce629276d468613954 WHIRLPOOL 9f859f3fc25a19274223dfdd866a1397fe889ff8393a8826dd3a26ce1accee8f8150627bf083de6cd706ef08b35c952590b6fd51bc6fb02228a29e618ce7a435
@@ -0,0 +1,35 @@
+# 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="3.*"
+
+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="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND=""
+
+distutils_src_compile_pre_hook() {
+ sed -i "s/'hgtools',//" pavement.py
+}
+
+distutils_src_install_post_hook() {
+ if use doc; then
+ insinto "/usr/share/doc/${PF}/scripts"
+ doins scripts/*
+ fi
+}
+
+DOCS="README CHANGES COPYING"

0 comments on commit 4d4b12b

Please sign in to comment.