summaryrefslogtreecommitdiff
blob: 6a7308eb28aec0730670fb0f0604c885401c38a2 (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
30
31
32
33
34
35
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twibber/twibber-0.2.0_pre2.ebuild,v 1.3 2006/02/14 00:20:31 marienz Exp $

inherit distutils

# for alphas,..
MY_PV="${PV/_pre/pre}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="twibber is a Python package aimed at handling the Jabber - XMMP protocol in a completely asynchronous way. This means absolutely no threads which may become very harmful and cause a lot of pain."
HOMEPAGE="http://slarty.polito.it:8069/~sciasbat/wiki/moin.cgi/twibber"
SRC_URI="http://www.jabberstudio.org/projects/twibber/releases/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="doc"

DEPEND=">=dev-python/pyxml-0.8.3
	|| (
		( >=dev-python/twisted-2 dev-python/twisted-xish )
		=dev-python/twisted-1.3*
	)"

S=${WORKDIR}/${MY_P}

src_install() {
	distutils_src_install

	# install docs if wanted
	if use doc; then
		dodir /usr/share/docs/${P}
		cp -r ${S}/docs ${S}/tests ${S}/examples ${D}/usr/share/doc/${P}/
	fi
}