[SCM] Samba Shared Repository - branch master updated
Jelmer Vernooij
jelmer at samba.org
Tue Dec 6 15:14:02 MST 2011
The branch, master has been updated
via 817f752 tevent: Install python tevent modules.
via de4b894 Install (platform-independent) python scripts to the PYTHONDIR rather than PYTHONARCHDIR.
via 5d19227 Add stub python module for tevent.
from 8f7f244 lib/util/util_tdb: adhere to coding style for tdb_data_is_empty()
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 817f7529d3e6483c83ef336600b8743af62c545e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 6 21:18:43 2011 +0100
tevent: Install python tevent modules.
Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
Autobuild-Date: Tue Dec 6 23:13:37 CET 2011 on sn-devel-104
commit de4b8943bfb40e2f50c9e4e2ee5d39e986317d08
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 6 21:08:15 2011 +0100
Install (platform-independent) python scripts to the PYTHONDIR rather than PYTHONARCHDIR.
commit 5d1922739e852fcc2a143996e88420b09c5dbff9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Dec 6 21:03:21 2011 +0100
Add stub python module for tevent.
-----------------------------------------------------------------------
Summary of changes:
lib/tevent/tevent.py | 28 ++++++++++++++++++++++++++++
lib/tevent/wscript | 6 ++++++
source4/scripting/python/wscript_build | 2 +-
3 files changed, 35 insertions(+), 1 deletions(-)
create mode 100644 lib/tevent/tevent.py
Changeset truncated at 500 lines:
diff --git a/lib/tevent/tevent.py b/lib/tevent/tevent.py
new file mode 100644
index 0000000..758ed48
--- /dev/null
+++ b/lib/tevent/tevent.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python
+#
+# Python integration for tevent
+#
+# Copyright (C) Jelmer Vernooij 2011
+#
+# ** NOTE! The following LGPL license applies to the tevent
+# ** library. This does NOT imply that all of Samba is released
+# ** under the LGPL
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
+from _tevent import (
+ backend_list,
+ Context,
+ Signal,
+ )
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index 5afaaca..d240630 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -97,6 +97,12 @@ def build(bld):
'pytevent.c',
deps='tevent',
realname='_tevent.so')
+ # install out various python scripts for use by make test
+ bld.SAMBA_SCRIPT('tevent_python',
+ pattern='tevent.py',
+ installdir='python')
+
+ bld.INSTALL_WILDCARD('${PYTHONDIR}', 'tevent.py', flat=False)
def test(ctx):
diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build
index 8879f75..73f7ae8 100644
--- a/source4/scripting/python/wscript_build
+++ b/source4/scripting/python/wscript_build
@@ -36,4 +36,4 @@ bld.SAMBA_SCRIPT('samba_python',
pattern='samba/**/*.py',
installdir='python')
-bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'samba/**/*.py', flat=False)
+bld.INSTALL_WILDCARD('${PYTHONDIR}', 'samba/**/*.py', flat=False)
--
Samba Shared Repository
More information about the samba-cvs
mailing list