summaryrefslogtreecommitdiff
blob: f532f9cc08e42eb9ef9541d702bbe6269983965b (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-2003 Gentoo Technologies, Inc.
# 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.1 2003/11/03 07:26:28 lordvan Exp $

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

inherit cvs
inherit 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"

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
}