Package: libkdtree++ / 0.7.1+git20101123-4

Metadata

Package Version Patches format
libkdtree++ 0.7.1+git20101123-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
close file handles.patch | (download)

python-bindings/gen-swig-hpp.py | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 close file handles properly
fix python3 incompatibilities.patch | (download)

python-bindings/py-kdtree_test.py | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 fix python 3 incompatibilities
 There is no long in Python 3.
enable tests.patch | (download)

CMakeLists.txt | 1 1 + 0 - 0 !
examples/CMakeLists.txt | 4 4 + 0 - 0 !
2 files changed, 5 insertions(+)

 enable testing and add test cases
fix headers install location.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 install headers in correct location
rename py kdtree_test.py.patch | (download)

python-bindings/py-kdtree_test.py | 403 0 + 403 - 0 !
python-bindings/py_kdtree_test.py | 403 403 + 0 - 0 !
2 files changed, 403 insertions(+), 403 deletions(-)

 rename py-kdtree_test.py to something importable
add setup.py.patch | (download)

python-bindings/setup.py | 44 44 + 0 - 0 !
1 file changed, 44 insertions(+)

 add setup.py to build the python bindings
 With a proper setup.py the bindings are installed in the correct place, i.e
 /usr/lib/pythonX.Y/site-packages on Linux. In particular, they are installed in
 /usr/lib/python2.Y/dist-packages and /usr/lib/python3/dist-packages on Debian.
use setup.py in cmake.patch | (download)

python-bindings/CMakeLists.txt | 61 47 + 14 - 0 !
python-bindings/setup_py_with_destdir.cmake | 25 25 + 0 - 0 !
2 files changed, 72 insertions(+), 14 deletions(-)

 use setup.py from cmake to build the python bindings
 Run the appropriate setup.py targets to build, test and install the Python
 bindings from cmake.
disable improper test.patch | (download)

python-bindings/py_kdtree_test.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable a improper tests
 I think the tests fails due to a confusion between the 2- and infinity-metrics.
 The test cases needs to be fixed.
gcc 5.patch | (download)

kdtree++/node.hpp | 30 17 + 13 - 0 !
1 file changed, 17 insertions(+), 13 deletions(-)

 fix build failure with gcc 5