blob: b833ad53a5cf3c9341e6f07828c96d0ca3be6dfd (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-cvs/twisted-cvs-20021104.ebuild,v 1.3 2003/03/11 20:50:08 seemant Exp $
ECVS_USER="anon"
ECVS_SERVER="twistedmatrix.com:/cvs"
ECVS_MODULE="Twisted"
ECVS_CVS_OPTIONS="-dP"
inherit cvs
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Twisted is a framework, written in Python, for writing networked applications."
SRC_URI=""
HOMEPAGE="http://www.twistedmatrix.com/"
LICENSE="LGPL-2.1"
SLOT="0"
RDEPEND="virtual/python"
DEPEND="$DEPEND
>=dev-python/epydoc-1.1
>=dev-python/pycrypto-1.9_alpha4"
KEYWORDS="~x86 ~alpha"
IUSE=""
inherit distutils
src_compile() {
distutils_src_compile
## .ps & pdf generation (book) sandbox violation ..
##${S}/admin/process-docs
# from admin/release-twisted
# cd ${S}
# epydoc -o doc/api twisted/* &&
# cp doc/api/index.html doc/api/index.html.bak &&
# cp doc/api/epydoc-index.html doc/api/index.html
# tree doc/api
}
src_install() {
distutils_src_install
# next few lines will install docs: 9.4 megs!
dodir /usr/share/doc/${PF}
# of course it's documentation!
doman doc/man/*.[0-9n]
rm -rf doc/man # don't dupe the man pages
cd doc
cp -r . ${D}/usr/share/doc/${PF}
cd ../
}
pkg_postinst() {
echo
einfo "This is for testing only! Do not submit bugs regarding this to"
einfo "Bugzilla. Instead mail me at lordvan@gentoo.org"
echo
}
|