summaryrefslogtreecommitdiff
blob: beb2c3b69d9c12b59ed7edcac692ca6333367238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-words/twisted-words-0.1.0-r2.ebuild,v 1.2 2006/06/30 23:15:06 tcort Exp $

MY_PACKAGE=Words

inherit twisted

DESCRIPTION="Twisted Words contains Instant Messaging implementations."

KEYWORDS="alpha ~amd64 ~ppc ~sparc ~x86"

DEPEND=">=dev-python/twisted-2
	<dev-python/twisted-2.4
	dev-python/twisted-web
	dev-python/twisted-xish
	gtk? ( <dev-python/pygtk-2 )"

IUSE="gtk"


src_install() {
	twisted_src_install

	if ! use gtk; then
		# Remove the "im" script if we do not depend on the required pygtk.
		rm -rf "${D}"/usr/{bin,share/man}
	fi
}