summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2008-08-22 00:01:12 +0000
committerJesus Rivero <neurogeek@gentoo.org>2008-08-22 00:01:12 +0000
commit30540fc037b5dc48675f8a7c7c2652758622ed26 (patch)
treecbb1fab9c00a0943ed9458d93e29440ae913ceff /dev-python/ldaptor/files
parentInitial Commit. Dependency for Bug #167164 (diff)
downloadgentoo-2-30540fc037b5dc48675f8a7c7c2652758622ed26.tar.gz
gentoo-2-30540fc037b5dc48675f8a7c7c2652758622ed26.tar.bz2
gentoo-2-30540fc037b5dc48675f8a7c7c2652758622ed26.zip
Version bump. Bug #167164
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/ldaptor/files')
-rw-r--r--dev-python/ldaptor/files/ldaptor-0.0.43-usage-exception.patch13
-rw-r--r--dev-python/ldaptor/files/ldaptor-0.0.43-zope_interface.patch71
2 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/ldaptor/files/ldaptor-0.0.43-usage-exception.patch b/dev-python/ldaptor/files/ldaptor-0.0.43-usage-exception.patch
new file mode 100644
index 000000000000..63e3d8f5459c
--- /dev/null
+++ b/dev-python/ldaptor/files/ldaptor-0.0.43-usage-exception.patch
@@ -0,0 +1,13 @@
+diff -uNtr ldaptor-0.0.43.orig/ldaptor/usage.py ldaptor-0.0.43/ldaptor/usage.py
+--- ldaptor-0.0.43.orig/ldaptor/usage.py 2008-08-20 12:38:44.000000000 -0430
++++ ldaptor-0.0.43/ldaptor/usage.py 2008-08-20 20:02:14.000000000 -0430
+@@ -2,6 +2,9 @@
+ from ldaptor.protocols import pureldap
+ from ldaptor.protocols.ldap import distinguishedname
+
++class UsageError(usage.UsageError):
++ pass
++
+ class Options(usage.Options):
+ optParameters = ()
+ def postOptions(self):
diff --git a/dev-python/ldaptor/files/ldaptor-0.0.43-zope_interface.patch b/dev-python/ldaptor/files/ldaptor-0.0.43-zope_interface.patch
new file mode 100644
index 000000000000..b9c8e78d5533
--- /dev/null
+++ b/dev-python/ldaptor/files/ldaptor-0.0.43-zope_interface.patch
@@ -0,0 +1,71 @@
+diff -uNtr ldaptor-0.0.43.orig/ldaptor/apps/webui/iwebui.py ldaptor-0.0.43/ldaptor/apps/webui/iwebui.py
+--- ldaptor-0.0.43.orig/ldaptor/apps/webui/iwebui.py 2008-08-20 12:38:44.000000000 -0430
++++ ldaptor-0.0.43/ldaptor/apps/webui/iwebui.py 2008-08-20 12:44:53.000000000 -0430
+@@ -1,4 +1,4 @@
+-from twisted.python import components
++from zope import interface
+
+-class ICurrentDN(components.Interface):
++class ICurrentDN(interface.Interface):
+ """Marker interface for current DN for Ldaptor-webui."""
+diff -uNtr ldaptor-0.0.43.orig/ldaptor/apps/webui/search.py ldaptor-0.0.43/ldaptor/apps/webui/search.py
+--- ldaptor-0.0.43.orig/ldaptor/apps/webui/search.py 2008-08-20 12:38:44.000000000 -0430
++++ ldaptor-0.0.43/ldaptor/apps/webui/search.py 2008-08-20 12:37:42.000000000 -0430
+@@ -1,6 +1,7 @@
+ from zope.interface import implements
+ from twisted.internet import defer
+-from twisted.python import components
++#from twisted.python import components
++from zope import interface
+ from webut.skin import iskin
+ from ldaptor.protocols.ldap import ldapclient, ldapsyntax
+ from ldaptor.protocols.ldap import distinguishedname, ldapconnector
+@@ -17,7 +18,7 @@
+ from nevow import rend, inevow, loaders, url, tags
+ from formless import annotate, webform, iformless, configurable
+
+-class IMove(components.Interface):
++class IMove(interface.Interface):
+ """Entries being moved in the tree."""
+ pass
+
+diff -uNtr ldaptor-0.0.43.orig/ldaptor/interfaces.py ldaptor-0.0.43/ldaptor/interfaces.py
+--- ldaptor-0.0.43.orig/ldaptor/interfaces.py 2008-08-20 12:38:44.000000000 -0430
++++ ldaptor-0.0.43/ldaptor/interfaces.py 2008-08-20 12:38:19.000000000 -0430
+@@ -1,6 +1,7 @@
+-from twisted.python import components
++#from twisted.python import interface
++from zope import interface
+
+-class ILDAPEntry(components.Interface):
++class ILDAPEntry(interface.Interface):
+ """
+
+ Pythonic API for LDAP object access and modification.
+@@ -126,7 +127,7 @@
+ incorrect.
+ """
+
+-class IEditableLDAPEntry(components.Interface):
++class IEditableLDAPEntry(interface.Interface):
+ """Interface definition for editable LDAP entries."""
+
+ def __setitem__(self, key, value):
+@@ -206,7 +207,7 @@
+
+ """
+
+-class IConnectedLDAPEntry(components.Interface):
++class IConnectedLDAPEntry(interface.Interface):
+ """Interface definition for LDAP entries that are part of a bigger whole."""
+
+ def namingContext(self):
+@@ -334,7 +335,7 @@
+
+ """
+
+-class ILDAPConfig(components.Interface):
++class ILDAPConfig(interface.Interface):
+ """Generic LDAP configuration retrieval."""
+
+ def getBaseDN(self):