Description: Build python binding
 Build the binding during package build requires some (hackish) path name changes.
Origin: vendor
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Univention: <https://forge.univention.org/bugzilla/show_bug.cgi?id=17290>
Forwarded: no
Author: Philipp Hahn <hahn@univention.de>
Last-Update: 2012-07-06

--- tre-0.8.0.orig/python/setup.py
+++ tre-0.8.0/python/setup.py
@@ -31,6 +31,7 @@ setup(name = "tre",
                                sources = ["tre-python.c"],
                                define_macros = [("HAVE_CONFIG_H", None)],
                                include_dirs = include_dirs,
+                               library_dirs = ['../lib/.libs'],
                                libraries = libraries
                                ),
                      ],
--- tre-0.8.0.orig/python/tre-python.c
+++ tre-0.8.0/python/tre-python.c
@@ -13,7 +13,7 @@
 #include "Python.h"
 #include "structmember.h"
 
-#include <tre/tre.h>
+#include "../lib/tre.h"
 
 #define	TRE_MODULE	"tre"
 
