blob: 555daa5d5c2dd8a12d863bee4c49ac15e1ee17ce (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-1.2.0.ebuild,v 1.18 2009/09/06 21:11:31 idl0r Exp $
inherit distutils
DESCRIPTION="An asynchronous networking framework written in Python"
HOMEPAGE="http://www.twistedmatrix.com/"
SRC_URI="http://twisted.sourceforge.net/Twisted_NoDocs-${PV}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86 amd64 ppc alpha"
IUSE="gtk doc"
DEPEND=">=dev-lang/python-2.2
>=dev-python/pycrypto-1.9_alpha6
dev-python/pyserial
dev-python/pyopenssl
gtk? ( >=dev-python/pygtk-1.99 )
doc? ( =dev-python/twisted-docs-${PV} )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/Twisted-${PV}"
src_install() {
distutils_src_install
# use gtk2 if they so wish
if use gtk; then
sed -e 's/import manhole/import manhole2/' \
-e 's/manhole\.run()/manhole2.run()/' \
-i '${D}/usr/bin/manhole'
fi
}
|