summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-06-11 12:12:59 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-06-11 12:12:59 +0000
commit8512529afa9444b47b2dd9a050dc4552be782fbe (patch)
tree6022112d339856c36adafbc3f8b4f7ee4725752c /meta-extras/packages
parentead8b803b3c7f2fa03caf5af0e3223151a812b74 (diff)
downloadpoky-8512529afa9444b47b2dd9a050dc4552be782fbe.tar.gz
twisted: added 2.5.0
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1914 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras/packages')
-rw-r--r--meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch18
-rw-r--r--meta-extras/packages/twisted/twisted_2.5.0.bb175
2 files changed, 193 insertions, 0 deletions
diff --git a/meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch b/meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch
new file mode 100644
index 0000000000..2bd1b191da
--- /dev/null
+++ b/meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch
@@ -0,0 +1,18 @@
1Index: Twisted-2.5.0/TwistedCore-2.5.0/twisted/__init__.py
2===================================================================
3--- Twisted-2.5.0.orig/TwistedCore-2.5.0/twisted/__init__.py 2007-03-05 16:30:08.117422472 +0100
4+++ Twisted-2.5.0/TwistedCore-2.5.0/twisted/__init__.py 2007-03-05 16:30:13.810553949 +0100
5@@ -14,13 +14,6 @@
6 raise RuntimeError("Twisted requires Python 2.3 or later.")
7 del sys
8
9-# Ensure zope.interface is installed
10-try:
11- from zope.interface import Interface
12- del Interface
13-except ImportError:
14- raise ImportError("you need zope.interface installed "
15- "(http://zope.org/Products/ZopeInterface/)")
16
17 # Ensure compat gets imported
18 from twisted.python import compat
diff --git a/meta-extras/packages/twisted/twisted_2.5.0.bb b/meta-extras/packages/twisted/twisted_2.5.0.bb
new file mode 100644
index 0000000000..e00b351b2a
--- /dev/null
+++ b/meta-extras/packages/twisted/twisted_2.5.0.bb
@@ -0,0 +1,175 @@
1DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \
2Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \
3(including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more."
4HOMEPAGE = "http://www.twistedmatrix.com"
5SECTION = "console/network"
6PRIORITY = "optional"
7LICENSE = "LGPL"
8RDEPENDS = "python-core python-zopeinterface"
9RDEPENDS_python-twisted += "python-twisted-bin python-twisted-conch python-twisted-core \
10 python-twisted-lore python-twisted-mail python-twisted-names \
11 python-twisted-news python-twisted-runner python-twisted-web \
12 python-twisted-words"
13PR = "r5"
14
15SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-${PV}.tar.bz2 \
16 file://remove-zope-check.patch;patch=1"
17
18S = "${WORKDIR}/Twisted-${PV}"
19
20inherit distutils
21
22PACKAGES += "python-twisted-zsh python-twisted-test python-twisted-protocols \
23 python-twisted-bin python-twisted-conch python-twisted-lore \
24 python-twisted-mail python-twisted-names python-twisted-news python-twisted-runner \
25 python-twisted-web python-twisted-words python-twisted python-twisted-core \
26 "
27
28ALLOW_EMPTY = "1"
29FILES_${PN} = ""
30FILES_python-twisted = ""
31
32FILES_python-twisted-test = " \
33${libdir}/python2.4/site-packages/twisted/python/web/test \
34"
35
36FILES_python-twisted-protocols = " \
37${libdir}/python2.4/site-packages/twisted/python/protocols/ \
38"
39
40FILES_python-twisted-zsh = " \
41${libdir}/python2.4/site-packages/twisted/python/zsh \
42${libdir}/python2.4/site-packages/twisted/python/zshcomp.* \
43"
44
45FILES_python-twisted-bin = " \
46${libdir}/python2.4/site-packages/twisted/protocols/_c_urlarg.so \
47${libdir}/python2.4/site-packages/twisted/spread/cBanana.so"
48
49FILES_python-twisted-conch = " \
50${bindir}/ckeygen \
51${bindir}/tkconch \
52${bindir}/conch \
53${bindir}/conchftp \
54${libdir}/python2.4/site-packages/twisted/plugins/twisted_conch.py \
55${libdir}/python2.4/site-packages/twisted/conch \
56"
57
58FILES_python-twisted-core = " \
59${bindir}/manhole \
60${bindir}/mktap \
61${bindir}/twistd \
62${bindir}/tap2deb \
63${bindir}/tap2rpm \
64${bindir}/tapconvert \
65${bindir}/tkmktap \
66${bindir}/trial \
67${libdir}/python2.4/site-packages/twisted/*.py \
68${libdir}/python2.4/site-packages/twisted/plugins/__init__.py \
69${libdir}/python2.4/site-packages/twisted/plugins/notestplugin.py \
70${libdir}/python2.4/site-packages/twisted/plugins/testplugin.py \
71${libdir}/python2.4/site-packages/twisted/plugins/twisted_ftp.py \
72${libdir}/python2.4/site-packages/twisted/plugins/twisted_inet.py \
73${libdir}/python2.4/site-packages/twisted/plugins/twisted_manhole.py \
74${libdir}/python2.4/site-packages/twisted/plugins/twisted_portforward.py \
75${libdir}/python2.4/site-packages/twisted/plugins/twisted_socks.py \
76${libdir}/python2.4/site-packages/twisted/plugins/twisted_telnet.py \
77${libdir}/python2.4/site-packages/twisted/plugins/twisted_trial.py \
78${libdir}/python2.4/site-packages/twisted/plugins/dropin.cache \
79${libdir}/python2.4/site-packages/twisted/application \
80${libdir}/python2.4/site-packages/twisted/cred \
81${libdir}/python2.4/site-packages/twisted/enterprise \
82${libdir}/python2.4/site-packages/twisted/internet \
83${libdir}/python2.4/site-packages/twisted/manhole \
84${libdir}/python2.4/site-packages/twisted/manhole \
85${libdir}/python2.4/site-packages/twisted/persisted \
86${libdir}/python2.4/site-packages/twisted/protocols\
87${libdir}/python2.4/site-packages/twisted/python\
88${libdir}/python2.4/site-packages/twisted/python/timeoutqueue.py \
89${libdir}/python2.4/site-packages/twisted/python/filepath.py \
90${libdir}/python2.4/site-packages/twisted/python/dxprofile.py \
91${libdir}/python2.4/site-packages/twisted/python/plugin.py \
92${libdir}/python2.4/site-packages/twisted/python/htmlizer.py \
93${libdir}/python2.4/site-packages/twisted/python/__init__.py \
94${libdir}/python2.4/site-packages/twisted/python/dispatch.py \
95${libdir}/python2.4/site-packages/twisted/python/hook.py \
96${libdir}/python2.4/site-packages/twisted/python/threadpool.py \
97${libdir}/python2.4/site-packages/twisted/python/otp.py \
98${libdir}/python2.4/site-packages/twisted/python/usage.py \
99${libdir}/python2.4/site-packages/twisted/python/roots.py \
100${libdir}/python2.4/site-packages/twisted/python/versions.py \
101${libdir}/python2.4/site-packages/twisted/python/urlpath.py \
102${libdir}/python2.4/site-packages/twisted/python/util.py \
103${libdir}/python2.4/site-packages/twisted/python/components.py \
104${libdir}/python2.4/site-packages/twisted/python/logfile.py \
105${libdir}/python2.4/site-packages/twisted/python/runtime.py \
106${libdir}/python2.4/site-packages/twisted/python/reflect.py \
107${libdir}/python2.4/site-packages/twisted/python/context.py \
108${libdir}/python2.4/site-packages/twisted/python/threadable.py \
109${libdir}/python2.4/site-packages/twisted/python/rebuild.py \
110${libdir}/python2.4/site-packages/twisted/python/failure.py \
111${libdir}/python2.4/site-packages/twisted/python/lockfile.py \
112${libdir}/python2.4/site-packages/twisted/python/formmethod.py \
113${libdir}/python2.4/site-packages/twisted/python/finalize.py \
114${libdir}/python2.4/site-packages/twisted/python/win32.py \
115${libdir}/python2.4/site-packages/twisted/python/dist.py \
116${libdir}/python2.4/site-packages/twisted/python/shortcut.py \
117${libdir}/python2.4/site-packages/twisted/python/zipstream.py \
118${libdir}/python2.4/site-packages/twisted/python/release.py \
119${libdir}/python2.4/site-packages/twisted/python/syslog.py \
120${libdir}/python2.4/site-packages/twisted/python/log.py \
121${libdir}/python2.4/site-packages/twisted/python/compat.py \
122${libdir}/python2.4/site-packages/twisted/python/zshcomp.py \
123${libdir}/python2.4/site-packages/twisted/python/procutils.py \
124${libdir}/python2.4/site-packages/twisted/python/text.py \
125${libdir}/python2.4/site-packages/twisted/python/_twisted_zsh_stub \
126${libdir}/python2.4/site-packages/twisted/scripts/ \
127${libdir}/python2.4/site-packages/twisted/spread/ \
128${libdir}/python2.4/site-packages/twisted/tap/ \
129${libdir}/python2.4/site-packages/twisted/trial/ \
130${libdir}/python2.4/site-packages/twisted/__init__.py \
131${libdir}/python2.4/site-packages/twisted/_version.py \
132${libdir}/python2.4/site-packages/twisted/copyright.py \
133${libdir}/python2.4/site-packages/twisted/im.py \
134${libdir}/python2.4/site-packages/twisted/plugin.py \
135"
136
137FILES_python-twisted-lore = " \
138${bindir}/bookify \
139${bindir}/lore \
140${libdir}/python2.4/site-packages/twisted/plugins/twisted_lore.py \
141${libdir}/python2.4/site-packages/twisted/lore \
142"
143
144FILES_python-twisted-mail = " \
145${bindir}/mailmail \
146${libdir}/python2.4/site-packages/twisted/plugins/twisted_mail.py \
147${libdir}/python2.4/site-packages/twisted/mail \
148"
149
150FILES_python-twisted-names = " \
151${libdir}/python2.4/site-packages/twisted/plugins/twisted_names.py \
152${libdir}/python2.4/site-packages/twisted/names \
153"
154
155FILES_python-twisted-news = " \
156${libdir}/python2.4/site-packages/twisted/plugins/twisted_news.py \
157${libdir}/python2.4/site-packages/twisted/news \
158"
159
160FILES_python-twisted-runner = " \
161${libdir}python2.4/site-packages/twisted/runner/portmap.so \
162${libdir}/python2.4/site-packages/twisted/runner\
163"
164
165FILES_python-twisted-web = " \
166${bindir}/websetroot \
167${libdir}/python2.4/site-packages/twisted/plugins/twisted_web.py \
168${libdir}/python2.4/site-packages/twisted/web\
169"
170
171FILES_python-twisted-words = " \
172${bindir}/im \
173${libdir}/python2.4/site-packages/twisted/plugins/twisted_words.py \
174${libdir}/python2.4/site-packages/twisted/words\
175"