* Also ship the python clang binding (python-clang-3.3)

This commit is contained in:
Sylvestre Ledru 2013-10-09 17:26:27 +00:00
parent 1464e547e8
commit 4d92b90575
3 changed files with 26 additions and 0 deletions

12
debian/control vendored
View File

@ -240,6 +240,17 @@ Description: clang library - Common development package
This package contains the clang generic headers and some libraries This package contains the clang generic headers and some libraries
(profiling, etc). (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 Package: libllvm3.3
Architecture: any Architecture: any
Section: libs Section: libs
@ -253,6 +264,7 @@ Description: Modular compiler and toolchain technologies, runtime library
. .
This package contains the LLVM runtime library. This package contains the LLVM runtime library.
Package: libllvm3.3-dbg Package: libllvm3.3-dbg
Architecture: any Architecture: any
Section: debug Section: debug

13
debian/patches/python-clangpath.diff vendored Normal file
View File

@ -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

1
debian/python-clang-3.3.install vendored Normal file
View File

@ -0,0 +1 @@
tools/clang/bindings/python/clang/ /usr/lib/python2.7/dist-packages/