diff --git a/debian/control b/debian/control index 66cddd7d..e8e3f9fe 100644 --- a/debian/control +++ b/debian/control @@ -240,6 +240,17 @@ Description: clang library - Common development package This package contains the clang generic headers and some libraries (profiling, etc). + + +Package: python-clang-3.3 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python +Replaces: python-clang-3.4 +Breaks: python-clang-3.4 +Description: Clang Python Bindings + This binding package provides access to the Clang compiler and libraries. + + Package: libllvm3.3 Architecture: any Section: libs @@ -253,6 +264,7 @@ Description: Modular compiler and toolchain technologies, runtime library . This package contains the LLVM runtime library. + Package: libllvm3.3-dbg Architecture: any Section: debug diff --git a/debian/patches/python-clangpath.diff b/debian/patches/python-clangpath.diff new file mode 100644 index 00000000..2125a552 --- /dev/null +++ b/debian/patches/python-clangpath.diff @@ -0,0 +1,13 @@ +Index: llvm-toolchain-3.3-3.3/clang/bindings/python/clang/cindex.py +=================================================================== +--- llvm-toolchain-3.3-3.3.orig/clang/bindings/python/clang/cindex.py 2013-04-21 20:35:51.000000000 +0200 ++++ llvm-toolchain-3.3-3.3/clang/bindings/python/clang/cindex.py 2013-10-09 19:18:15.000000000 +0200 +@@ -3197,7 +3197,7 @@ + elif name == 'Windows': + file = 'libclang.dll' + else: +- file = 'libclang.so' ++ file = 'libclang-3.3.so' + + if Config.library_path: + file = Config.library_path + '/' + file diff --git a/debian/python-clang-3.3.install b/debian/python-clang-3.3.install new file mode 100644 index 00000000..b5494214 --- /dev/null +++ b/debian/python-clang-3.3.install @@ -0,0 +1 @@ +tools/clang/bindings/python/clang/ /usr/lib/python2.7/dist-packages/