blob: 23fddbdfcc3df4166df9669bd3b2df6285650ca3 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Gontran Zepeda <gontran@gontran.net>
S=${WORKDIR}/Twisted-${PV}
DESCRIPTION="Twisted is a collection of servers and clients, which can be used either by developers of new applications or directly. Documentation included."
SRC_URI="http://www.twistedmatrix.com/downloads/Twisted-${PV}.tar.bz2"
HOMEPAGE="http://www.twistedmatrix.com/"
LICENSE="GPL-2"
SLOT="0"
DEPEND="virtual/python"
RDEPEND="$DEPEND"
src_compile() {
python setup.py build || die
}
src_install() {
python setup.py install --root=${D} --prefix=/usr || die
# next few lines will install docs: 9.4 megs!
dodir /usr/share/doc/${PF}
# of course it's documentation!
cd doc
cp -r . ${D}/usr/share/doc/${PF}
cd ../
rm -rf doc/man # don't dupe the man pages
doman doc/man/*
dodoc README TODO CREDITS
}
|