[ros-pcl-msgs] 01/01: add python3 support

Johannes Schauer josch at moszumanska.debian.org
Mon Oct 26 13:57:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

josch pushed a commit to branch python3
in repository ros-pcl-msgs.

commit 6eb41109e540b911c569a7104ba3c322bf31cdf7
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Sun Oct 18 15:01:26 2015 +0200

    add python3 support
---
 debian/control                   |  6 +++---
 debian/python-pcl-msgs.pyinstall |  2 --
 debian/python3-pcl-msgs.install  |  1 +
 debian/rules                     | 31 ++++++-------------------------
 4 files changed, 10 insertions(+), 30 deletions(-)

diff --git a/debian/control b/debian/control
index d268517..a35941b 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,
            Jochen Sprickerhof <debian at jochen.sprickerhof.de>,
            Leopold Palomo-Avellaneda <leo at alaxarxa.net>
 Build-Depends: debhelper (>= 9), cmake, message-generation, catkin, 
-		python-setuptools (>= 0.6b3), python-all (>=2.6.6-3),
+		python3-setuptools (>= 0.6b3), python3-all (>=2.6.6-3),
 		libsensor-msgs-dev, libgeometry-msgs-dev, message-runtime,
 		libroscpp-core-dev, libstd-msgs-dev
 Standards-Version: 3.9.6
@@ -22,10 +22,10 @@ Description: C/C++ headers for PCL-related ROS Messages
  provides the glue between the Point Cloud Library and ROS.
  This package contains the generated C++ headers.
 
-Package: python-pcl-msgs
+Package: python3-pcl-msgs
 Section: python
 Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Description: Python code for PCL-related ROS Messages
  ROS package containing PCL-related messages. This package
  provides the glue between the Point Cloud Library and ROS.
diff --git a/debian/python-pcl-msgs.pyinstall b/debian/python-pcl-msgs.pyinstall
deleted file mode 100644
index 02263c1..0000000
--- a/debian/python-pcl-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/pcl_msgs/*.py pcl_msgs
-debian/tmp/usr/lib/python2*/*/pcl_msgs/msg/*.py pcl_msgs.msg
diff --git a/debian/python3-pcl-msgs.install b/debian/python3-pcl-msgs.install
new file mode 100644
index 0000000..0d9c9da
--- /dev/null
+++ b/debian/python3-pcl-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/pcl_msgs
diff --git a/debian/rules b/debian/rules
index bd3004c..c0b0d42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,28 +1,9 @@
 #!/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
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DPython_ADDITIONAL_VERSIONS=3.4
 
-# debmake generated override targets
-# This is example for Cmake (See http://bugs.debian.org/641051 )
-#override_dh_auto_configure:
-#	dh_auto_configure -- \
-#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+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-pcl-msgs.git



More information about the debian-science-commits mailing list