You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/twisted-words/twisted-words-10.2.0-r1.ebuild

35 lines
1011 B

# Copyright 1999-2013 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.6 2013/08/03 09:45:43 mgorny 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-core-$(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}
}