aboutsummaryrefslogtreecommitdiffstats
path: root/packages/twisted/twisted_2.5.0.bb
blob: d22dc4d63e93c1c058c1cebc752102d1686c4a14 (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
DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \
Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols                   \
(including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more."
HOMEPAGE = "http://www.twistedmatrix.com"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "LGPL"
DEPENDS = "zope-interface-native zope-interface python-crypto twisted-native"
RDEPENDS = "python-core zope-interface python-pickle python-fcntl python-crypto"

SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-${PV}.tar.bz2"

S = "${WORKDIR}/Twisted-${PV}"

inherit distutils

SP = "${libdir}/${PYTHON_DIR}/site-packages/twisted"

FILES_twisted-conch = "${SP}/conch/"
FILES_twisted-lore = "${SP}/lore/"
FILES_twisted-mail = "${SP}/mail/"
FILES_twisted-names = "${SP}/names/"
FILES_twisted-news = "${SP}/news/"
FILES_twisted-runner = "${SP}/runner/"
FILES_twisted-web = "${SP}/web/"
FILES_twisted-words = "${SP}/words/"
FILES_twisted-trial = "${SP}/trial/ ${SP}/test/"
PACKAGES = "twisted-conch twisted-lore twisted-mail twisted-names twisted-news twisted-runner twisted-web twisted-words twisted-trial twisted"

do_compile_prepend() {
	export PYTHONPATH=${S}/TwistedCore-${PV}
}

do_install_prepend() {
	export PYTHONPATH=${S}/TwistedCore-${PV}
}