summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch')
-rw-r--r--meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch18
1 files changed, 18 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