diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-03-21 23:52:55 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-03-21 23:52:55 +0000 |
commit | 01009eb33cd0518969760724f08dd9b3400c748e (patch) | |
tree | 5949f1708dace3c5545078cb37654de634e2016c /packages/python/python-twisted-2.5.0 | |
parent | e737833493b9017bbfd3ab0dba6a2d26f85eebd8 (diff) |
rename twisted to python-twisted and fix obvious packaging problems
still more packaging work to do though
Diffstat (limited to 'packages/python/python-twisted-2.5.0')
-rw-r--r-- | packages/python/python-twisted-2.5.0/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/python/python-twisted-2.5.0/remove-zope-check.patch | 18 |
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/python/python-twisted-2.5.0/.mtn2git_empty b/packages/python/python-twisted-2.5.0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/python/python-twisted-2.5.0/.mtn2git_empty diff --git a/packages/python/python-twisted-2.5.0/remove-zope-check.patch b/packages/python/python-twisted-2.5.0/remove-zope-check.patch new file mode 100644 index 0000000000..2bd1b191da --- /dev/null +++ b/packages/python/python-twisted-2.5.0/remove-zope-check.patch @@ -0,0 +1,18 @@ +Index: Twisted-2.5.0/TwistedCore-2.5.0/twisted/__init__.py +=================================================================== +--- Twisted-2.5.0.orig/TwistedCore-2.5.0/twisted/__init__.py 2007-03-05 16:30:08.117422472 +0100 ++++ Twisted-2.5.0/TwistedCore-2.5.0/twisted/__init__.py 2007-03-05 16:30:13.810553949 +0100 +@@ -14,13 +14,6 @@ + raise RuntimeError("Twisted requires Python 2.3 or later.") + del sys + +-# Ensure zope.interface is installed +-try: +- from zope.interface import Interface +- del Interface +-except ImportError: +- raise ImportError("you need zope.interface installed " +- "(http://zope.org/Products/ZopeInterface/)") + + # Ensure compat gets imported + from twisted.python import compat |