Author: jelmer
Date: 2007-11-25 15:34:12 +0000 (Sun, 25 Nov 2007)
New Revision: 26114

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26114

Log:
Allow keyword-arguments.
Modified:
   branches/SAMBA_4_0/source/lib/ldb/setup.py
   branches/SAMBA_4_0/source/lib/tdb/setup.py
   branches/SAMBA_4_0/source/scripting/python/config.mk


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/setup.py
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/setup.py  2007-11-25 15:28:41 UTC (rev 
26113)
+++ branches/SAMBA_4_0/source/lib/ldb/setup.py  2007-11-25 15:34:12 UTC (rev 
26114)
@@ -10,5 +10,6 @@
       license="LGPLv3",
       keywords=["ldap","ldb","db","ldif"],
       ext_modules=[Extension('_ldb', ['ldb.i'], include_dirs=['include'],
+                             swig_opts=["-keyword"],
                              library_dirs=["lib"], libraries=['ldb','ldap'])],
       )

Modified: branches/SAMBA_4_0/source/lib/tdb/setup.py
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/setup.py  2007-11-25 15:28:41 UTC (rev 
26113)
+++ branches/SAMBA_4_0/source/lib/tdb/setup.py  2007-11-25 15:34:12 UTC (rev 
26114)
@@ -6,5 +6,5 @@
       version='1.0',
       url="http://tdb.samba.org/";,
       ext_modules=[Extension('_tdb', ['tdb.i'], include_dirs=['include'],
-          library_dirs=["."], libraries=['tdb'], swig_opts=["-noproxydel"])],
+          library_dirs=["."], libraries=['tdb'], swig_opts=["-keyword"])],
 )

Modified: branches/SAMBA_4_0/source/scripting/python/config.mk
===================================================================
--- branches/SAMBA_4_0/source/scripting/python/config.mk        2007-11-25 
15:28:41 UTC (rev 26113)
+++ branches/SAMBA_4_0/source/scripting/python/config.mk        2007-11-25 
15:34:12 UTC (rev 26114)
@@ -20,7 +20,7 @@
 .SUFFIXES: _wrap.c .i
 
 .i_wrap.c:
-       $(SWIG) -Wall -I$(srcdir)/scripting/swig -python $<
+       $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
 
 clean::
        @echo "Removing SWIG output files"

Reply via email to