libtevent/0004-tevent-Install-python-tevent-modules.patch
2011-12-06 20:40:46 -05:00

32 lines
1.1 KiB
Diff

From 817f7529d3e6483c83ef336600b8743af62c545e Mon Sep 17 00:00:00 2001
From: Jelmer Vernooij <jelmer@samba.org>
Date: Tue, 6 Dec 2011 21:18:43 +0100
Subject: [PATCH 3/3] tevent: Install python tevent modules.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Dec 6 23:13:37 CET 2011 on sn-devel-104
---
lib/tevent/wscript | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index 5afaacaa55d80ca174ad8806385deddaf648b3f6..d240630b6a6fed3c75dca9a4f5ec211996683edf 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):
--
1.7.7.3