diff options
-rw-r--r-- | meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch | 18 | ||||
-rw-r--r-- | meta-extras/packages/twisted/twisted_2.5.0.bb | 175 |
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 @@ | |||
1 | Index: 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 @@ | |||
1 | DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ | ||
2 | Twisted 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." | ||
4 | HOMEPAGE = "http://www.twistedmatrix.com" | ||
5 | SECTION = "console/network" | ||
6 | PRIORITY = "optional" | ||
7 | LICENSE = "LGPL" | ||
8 | RDEPENDS = "python-core python-zopeinterface" | ||
9 | RDEPENDS_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" | ||
13 | PR = "r5" | ||
14 | |||
15 | SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-${PV}.tar.bz2 \ | ||
16 | file://remove-zope-check.patch;patch=1" | ||
17 | |||
18 | S = "${WORKDIR}/Twisted-${PV}" | ||
19 | |||
20 | inherit distutils | ||
21 | |||
22 | PACKAGES += "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 | |||
28 | ALLOW_EMPTY = "1" | ||
29 | FILES_${PN} = "" | ||
30 | FILES_python-twisted = "" | ||
31 | |||
32 | FILES_python-twisted-test = " \ | ||
33 | ${libdir}/python2.4/site-packages/twisted/python/web/test \ | ||
34 | " | ||
35 | |||
36 | FILES_python-twisted-protocols = " \ | ||
37 | ${libdir}/python2.4/site-packages/twisted/python/protocols/ \ | ||
38 | " | ||
39 | |||
40 | FILES_python-twisted-zsh = " \ | ||
41 | ${libdir}/python2.4/site-packages/twisted/python/zsh \ | ||
42 | ${libdir}/python2.4/site-packages/twisted/python/zshcomp.* \ | ||
43 | " | ||
44 | |||
45 | FILES_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 | |||
49 | FILES_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 | |||
58 | FILES_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 | |||
137 | FILES_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 | |||
144 | FILES_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 | |||
150 | FILES_python-twisted-names = " \ | ||
151 | ${libdir}/python2.4/site-packages/twisted/plugins/twisted_names.py \ | ||
152 | ${libdir}/python2.4/site-packages/twisted/names \ | ||
153 | " | ||
154 | |||
155 | FILES_python-twisted-news = " \ | ||
156 | ${libdir}/python2.4/site-packages/twisted/plugins/twisted_news.py \ | ||
157 | ${libdir}/python2.4/site-packages/twisted/news \ | ||
158 | " | ||
159 | |||
160 | FILES_python-twisted-runner = " \ | ||
161 | ${libdir}python2.4/site-packages/twisted/runner/portmap.so \ | ||
162 | ${libdir}/python2.4/site-packages/twisted/runner\ | ||
163 | " | ||
164 | |||
165 | FILES_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 | |||
171 | FILES_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 | " | ||