Gentoo Archives: gentoo-commits

From: "Jesus Rivero (neurogeek)" <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/ldaptor/files: ldaptor-0.0.43-zope_interface.patch ldaptor-0.0.43-usage-exception.patch
Date: Fri, 22 Aug 2008 00:01:18
Message-Id: E1KWK5Z-0002mp-FC@stork.gentoo.org
1 neurogeek 08/08/22 00:01:13
2
3 Added: ldaptor-0.0.43-zope_interface.patch
4 ldaptor-0.0.43-usage-exception.patch
5 Log:
6 Version bump. Bug #167164
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.1 dev-python/ldaptor/files/ldaptor-0.0.43-zope_interface.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/files/ldaptor-0.0.43-zope_interface.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/files/ldaptor-0.0.43-zope_interface.patch?rev=1.1&content-type=text/plain
14
15 Index: ldaptor-0.0.43-zope_interface.patch
16 ===================================================================
17 diff -uNtr ldaptor-0.0.43.orig/ldaptor/apps/webui/iwebui.py ldaptor-0.0.43/ldaptor/apps/webui/iwebui.py
18 --- ldaptor-0.0.43.orig/ldaptor/apps/webui/iwebui.py 2008-08-20 12:38:44.000000000 -0430
19 +++ ldaptor-0.0.43/ldaptor/apps/webui/iwebui.py 2008-08-20 12:44:53.000000000 -0430
20 @@ -1,4 +1,4 @@
21 -from twisted.python import components
22 +from zope import interface
23
24 -class ICurrentDN(components.Interface):
25 +class ICurrentDN(interface.Interface):
26 """Marker interface for current DN for Ldaptor-webui."""
27 diff -uNtr ldaptor-0.0.43.orig/ldaptor/apps/webui/search.py ldaptor-0.0.43/ldaptor/apps/webui/search.py
28 --- ldaptor-0.0.43.orig/ldaptor/apps/webui/search.py 2008-08-20 12:38:44.000000000 -0430
29 +++ ldaptor-0.0.43/ldaptor/apps/webui/search.py 2008-08-20 12:37:42.000000000 -0430
30 @@ -1,6 +1,7 @@
31 from zope.interface import implements
32 from twisted.internet import defer
33 -from twisted.python import components
34 +#from twisted.python import components
35 +from zope import interface
36 from webut.skin import iskin
37 from ldaptor.protocols.ldap import ldapclient, ldapsyntax
38 from ldaptor.protocols.ldap import distinguishedname, ldapconnector
39 @@ -17,7 +18,7 @@
40 from nevow import rend, inevow, loaders, url, tags
41 from formless import annotate, webform, iformless, configurable
42
43 -class IMove(components.Interface):
44 +class IMove(interface.Interface):
45 """Entries being moved in the tree."""
46 pass
47
48 diff -uNtr ldaptor-0.0.43.orig/ldaptor/interfaces.py ldaptor-0.0.43/ldaptor/interfaces.py
49 --- ldaptor-0.0.43.orig/ldaptor/interfaces.py 2008-08-20 12:38:44.000000000 -0430
50 +++ ldaptor-0.0.43/ldaptor/interfaces.py 2008-08-20 12:38:19.000000000 -0430
51 @@ -1,6 +1,7 @@
52 -from twisted.python import components
53 +#from twisted.python import interface
54 +from zope import interface
55
56 -class ILDAPEntry(components.Interface):
57 +class ILDAPEntry(interface.Interface):
58 """
59
60 Pythonic API for LDAP object access and modification.
61 @@ -126,7 +127,7 @@
62 incorrect.
63 """
64
65 -class IEditableLDAPEntry(components.Interface):
66 +class IEditableLDAPEntry(interface.Interface):
67 """Interface definition for editable LDAP entries."""
68
69 def __setitem__(self, key, value):
70 @@ -206,7 +207,7 @@
71
72 """
73
74 -class IConnectedLDAPEntry(components.Interface):
75 +class IConnectedLDAPEntry(interface.Interface):
76 """Interface definition for LDAP entries that are part of a bigger whole."""
77
78 def namingContext(self):
79 @@ -334,7 +335,7 @@
80
81 """
82
83 -class ILDAPConfig(components.Interface):
84 +class ILDAPConfig(interface.Interface):
85 """Generic LDAP configuration retrieval."""
86
87 def getBaseDN(self):
88
89
90
91 1.1 dev-python/ldaptor/files/ldaptor-0.0.43-usage-exception.patch
92
93 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/files/ldaptor-0.0.43-usage-exception.patch?rev=1.1&view=markup
94 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ldaptor/files/ldaptor-0.0.43-usage-exception.patch?rev=1.1&content-type=text/plain
95
96 Index: ldaptor-0.0.43-usage-exception.patch
97 ===================================================================
98 diff -uNtr ldaptor-0.0.43.orig/ldaptor/usage.py ldaptor-0.0.43/ldaptor/usage.py
99 --- ldaptor-0.0.43.orig/ldaptor/usage.py 2008-08-20 12:38:44.000000000 -0430
100 +++ ldaptor-0.0.43/ldaptor/usage.py 2008-08-20 20:02:14.000000000 -0430
101 @@ -2,6 +2,9 @@
102 from ldaptor.protocols import pureldap
103 from ldaptor.protocols.ldap import distinguishedname
104
105 +class UsageError(usage.UsageError):
106 + pass
107 +
108 class Options(usage.Options):
109 optParameters = ()
110 def postOptions(self):