# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-words/twisted-words-10.2.0-r1.ebuild,v 1.5 2012/10/05 14:46:45 marienz Exp $ EAPI="3" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" MY_PACKAGE="Words" inherit eutils twisted versionator DESCRIPTION="Twisted Words contains Instant Messaging implementations." KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" IUSE="" DEPEND="=dev-python/twisted-$(get_version_component_range 1)* =dev-python/twisted-web-$(get_version_component_range 1)*" RDEPEND="${DEPEND}" PYTHON_MODNAME="twisted/plugins twisted/words" src_prepare() { distutils_src_prepare epatch "${FILESDIR}/${P}-twisted.words.protocols.jabber.jstrports.parse.patch" } src_install() { twisted_src_install # Remove the "im" script, because we do not depend on the required pygtk. rm -fr "${ED}"usr/{bin,share/man} }