This is an automated email from the git hooks/post-receive script. sebastic-guest pushed a commit to branch symbols in repository liblas.
commit 4d08940a1119a1fb12039034c34305dbcacf211b Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Jan 31 01:56:31 2014 +0100 Also build python extension, replaces separate source package. --- debian/changelog | 1 + debian/control | 26 ++++++++++++++++++++++++++ debian/python-liblas.install | 1 + debian/rules | 35 ++++++++++++++++++++++++++++++++--- 4 files changed, 60 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5a718ef..6ce3125 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ liblas (1.7.0+dfsg-3) UNRELEASED; urgency=low * Team upload. * Update debian watch file with sepwatch changes, and handle more common mistakes. + * Also build python extension, replaces separate source package. -- Bas Couwenberg <sebas...@xs4all.nl> Fri, 31 Jan 2014 01:37:27 +0100 diff --git a/debian/control b/debian/control index edf96c3..8336b96 100644 --- a/debian/control +++ b/debian/control @@ -13,10 +13,15 @@ Build-Depends: , libboost-dev , libboost-program-options-dev , libboost-thread-dev + , python-all-dev (>= 2.6.6-3~) +Build-Depends-Indep: + dh-python + , python-setuptools Standards-Version: 3.9.5 Homepage: http://liblas.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/liblas.git Vcs-Git: git://anonscm.debian.org/pkg-grass/liblas.git +X-Python-Version: >= 2.5 Package: liblas2 Architecture: any @@ -119,3 +124,24 @@ Description: ASPRS LiDAR data translation toolset . This package contains the essential toolset to manage LiDAR data: lasinfo, lasmerge, las2las, las2txt, txt2las, las2ogr. + +Package: python-liblas +Architecture: all +Section: python +Depends: + ${shlibs:Depends} + , ${misc:Depends} + , ${python:Depends} + , python (>= 2.5) | python-ctypes +Description: Python module to use the ASPRS LiDAR data translation library + libLAS is a C/C++ library for reading and writing ASPRS LAS versions + 1.0, 1.1 and 1.2 data. The LAS format is a sequential binary format + used to store data from sensors and as intermediate processing storage + by some LiDAR-related applications. LiDAR (Light Detection and Ranging) + is an optical remote sensing technology that measures properties of + scattered light to find range and/or other information of a distant + target. The prevalent method to determine distance to an object or + surface is to use laser pulses. + . + This package contains a Python module to use libLAS. + diff --git a/debian/python-liblas.install b/debian/python-liblas.install new file mode 100644 index 0000000..b2cc136 --- /dev/null +++ b/debian/python-liblas.install @@ -0,0 +1 @@ +usr/lib/python2* diff --git a/debian/rules b/debian/rules index 745f141..69ab4f5 100755 --- a/debian/rules +++ b/debian/rules @@ -1,20 +1,49 @@ #!/usr/bin/make -f +PYVERS=$(shell pyversions -vr) $(shell py3versions -vr) + %: - dh $@ \ - -Scmake + dh $@ --with python2 \ + --buildsystem cmake + +override_dh_auto_clean: + dh_auto_clean + dh_auto_clean --sourcedirectory $(CURDIR)/python --buildsystem python_distutils + +override_dh_clean: + dh_clean + + rm -rf $(CURDIR)/README.txt + rm -rf $(CURDIR)/python/build + rm -rf $(CURDIR)/python/libLAS.egg-info override_dh_auto_configure: - dh_auto_configure -Scmake -- \ + dh_auto_configure --buildsystem cmake -- \ -DWITH_GDAL=TRUE \ -DWITH_GEOTIFF=TRUE \ -DGEOTIFF_INCLUDE_DIR=/usr/include/geotiff +override_dh_auto_build: + dh_auto_build + dh_auto_build --sourcedirectory $(CURDIR)/python --buildsystem python_distutils + +override_dh_auto_install: + dh_auto_install + dh_auto_install --sourcedirectory $(CURDIR)/python --buildsystem python_distutils + override_dh_install: dh_install # remove capi from liblas-dev rm -vrf $(CURDIR)/debian/liblas-dev/usr/include/liblas/capi/ + # Remove .py extension + #mv $(CURDIR)/debian/python-liblas/usr/bin/oci2las.py \ + # $(CURDIR)/debian/python-liblas/usr/bin/oci2las + override_dh_auto_test: # don't run tests + +override_dh_python2: + dh_python2 -ppython-liblas $(CURDIR)/python + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/liblas.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel