summaryrefslogtreecommitdiff
blob: d944d6c8b79d4c600182932ffd5a6bf7cead1baa (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-cvs/twisted-cvs-20031103.ebuild,v 1.4 2004/06/25 01:51:33 agriffis Exp $

ECVS_USER="anon"
ECVS_SERVER="cvs.twistedmatrix.com:/cvs"
ECVS_MODULE="Twisted"
ECVS_CVS_OPTIONS="-dP"

inherit cvs distutils

S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Twisted is a framework, written in Python, for writing networked applications."
HOMEPAGE="http://www.twistedmatrix.com/"
SRC_URI=""

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~alpha"
IUSE=""

RDEPEND="virtual/python"
DEPEND="${DEPEND}
	>=dev-python/epydoc-1.1
	>=dev-python/pycrypto-1.9_alpha4"

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
}