[ros-laser-geometry] 01/01: add python3 support
Johannes Schauer
josch at moszumanska.debian.org
Mon Oct 26 13:56:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
josch pushed a commit to branch python3
in repository ros-laser-geometry.
commit 112f2b39b2acba41ebcabe1d6ec9a829acf7784d
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date: Sun Oct 18 12:12:14 2015 +0200
add python3 support
---
debian/control | 4 ++--
debian/python-laser-geometry.pyinstall | 1 -
debian/python3-laser-geometry.install | 1 +
debian/rules | 27 +++++++--------------------
4 files changed, 10 insertions(+), 23 deletions(-)
diff --git a/debian/control b/debian/control
index 34e8f53..c67fbb7 100644
--- a/debian/control
+++ b/debian/control
@@ -38,10 +38,10 @@ Description: ROS laser_geometry package
.
This package contains the library itself.
-Package: python-laser-geometry
+Package: python3-laser-geometry
Section: python
Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-genpy, python-std-msgs
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, python3-genpy, python3-std-msgs
Description: ROS laser_geometry package - Python
This package contains a class for converting from a 2D laser scan as defined
by sensor_msgs/LaserScan into a point cloud as defined by
diff --git a/debian/python-laser-geometry.pyinstall b/debian/python-laser-geometry.pyinstall
deleted file mode 100644
index df7279f..0000000
--- a/debian/python-laser-geometry.pyinstall
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/lib/python2*/*/laser_geometry/*.py laser_geometry
diff --git a/debian/python3-laser-geometry.install b/debian/python3-laser-geometry.install
new file mode 100644
index 0000000..b1a28ef
--- /dev/null
+++ b/debian/python3-laser-geometry.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/laser_geometry
diff --git a/debian/rules b/debian/rules
index 18789b3..42375e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,25 +1,12 @@
#!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
-#DH_VERBOSE = 1
-
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/default.mk
-
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
-
-# main packaging script based on dh7 syntax
%:
- dh $@ --parallel --buildsystem=cmake --with python2
+ dh $@ --parallel --buildsystem=cmake --with python3
# test suite is broken atm.
override_dh_auto_test:
+
+override_dh_auto_configure:
+ dh_auto_configure -- -DPython_ADDITIONAL_VERSIONS=3.4
+
+get-orig-source:
+ uscan --verbose --force-download --repack --compress xz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-laser-geometry.git
More information about the debian-science-commits
mailing list