blob: 5c9ba4ae515c602dbd3b51310c409e7557fc4898 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/twisted-web-0.5.0-r3.ebuild,v 1.4 2008/05/25 20:29:21 lordvan Exp $
MY_PACKAGE=Web
inherit twisted eutils
DESCRIPTION="Twisted web server, programmable in Python"
KEYWORDS="~alpha ~amd64 ia64 ~ppc ~sh ~sparc ~x86"
DEPEND=">=dev-python/twisted-2
<dev-python/twisted-2.4"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-root-skip.patch"
epatch "${FILESDIR}/${P}-tests-2.2-compat.patch"
}
src_install() {
twisted_src_install
# Get rid of the main user-visible bits of websetroots: the
# wrapper script in bin and the manpage. This leaves behind the
# script in scripts in site-packages. websetroot is removed
# entirely in upstream svn and does not work in this version.
rm -rf "${D}"/usr/{bin,share/man}
}
|