[ros-common-msgs] 01/01: add python3 support
Johannes Schauer
josch at moszumanska.debian.org
Mon Oct 26 13:55:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
josch pushed a commit to branch python3
in repository ros-common-msgs.
commit cf51ea96db087698bac7f8f95293df533328b3b4
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date: Sun Oct 18 10:03:18 2015 +0200
add python3 support
---
debian/control | 38 +++++++++++++++---------------
debian/python-actionlib-msgs.pyinstall | 2 --
debian/python-diagnostic-msgs.pyinstall | 2 --
debian/python-geometry-msgs.pyinstall | 2 --
debian/python-nav-msgs.pyinstall | 2 --
debian/python-rosgraph-msgs.pyinstall | 2 --
debian/python-sensor-msgs.pyinstall | 2 --
debian/python-shape-msgs.pyinstall | 2 --
debian/python-stereo-msgs.pyinstall | 2 --
debian/python-trajectory-msgs.pyinstall | 2 --
debian/python-visualization-msgs.pyinstall | 2 --
debian/python3-actionlib-msgs.install | 1 +
debian/python3-diagnostic-msgs.install | 1 +
debian/python3-geometry-msgs.install | 1 +
debian/python3-nav-msgs.install | 1 +
debian/python3-rosgraph-msgs.install | 1 +
debian/python3-sensor-msgs.install | 1 +
debian/python3-shape-msgs.install | 1 +
debian/python3-stereo-msgs.install | 1 +
debian/python3-trajectory-msgs.install | 1 +
debian/python3-visualization-msgs.install | 1 +
debian/rules | 32 +++----------------------
22 files changed, 32 insertions(+), 68 deletions(-)
diff --git a/debian/control b/debian/control
index fdf78b3..1d7685b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,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), catkin, libroscpp-core-dev, message-generation, libstd-msgs-dev,
- python-all (>= 2.6.6-3), python-setuptools (>= 0.6b3),
+ python3-all (>= 2.6.6-3), python3-setuptools (>= 0.6b3),
libboost-dev
Standards-Version: 3.9.6
Section: libs
@@ -25,10 +25,10 @@ Description: Messages relating to the ROS actionlib C/C++
.
This package contains the generated headers files.
-Package: python-actionlib-msgs
+Package: python3-actionlib-msgs
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: Messages relating to the ROS actionlib, Python
actionlib_msgs defines the common messages to interact with an
action server and an action client. For full documentation of
@@ -64,10 +64,10 @@ Description: Messages relating to the ROS diagnostic C/C++
.
This package contains the generated headers files.
-Package: python-diagnostic-msgs
+Package: python3-diagnostic-msgs
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: Messages relating to the ROS diagnostic, Python
This package holds the diagnostic messages which provide the
standardized interface for the diagnostic and runtime monitoring
@@ -106,10 +106,10 @@ Description: Messages relating to the ROS geometry C/C++
.
This package contains the generated headers files.
-Package: python-geometry-msgs
+Package: python3-geometry-msgs
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: Messages relating to the ROS geometry, Python
geometry_msgs provides messages for common geometric primitives
such as points, vectors, and poses. These primitives are designed
@@ -144,10 +144,10 @@ Description: Messages relating to the ROS nav C/C++
.
This package contains the generated headers files.
-Package: python-nav-msgs
+Package: python3-nav-msgs
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: Messages relating to the ROS nav, Python
nav_msgs defines the common messages used to interact with the
http://wiki.ros.org/navigation stack.
@@ -183,10 +183,10 @@ Description: Messages relating to the ROS sensor C/C++
.
This package contains the generated headers files.
-Package: python-sensor-msgs
+Package: python3-sensor-msgs
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: Messages relating to the ROS sensor, Python
This package defines messages for commonly used sensors, including
cameras and scanning laser rangefinders.
@@ -213,10 +213,10 @@ Description: Messages relating to the ROS shape C/C++
.
This package contains the generated headers files.
-Package: python-shape-msgs
+Package: python3-shape-msgs
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: Messages relating to the ROS shape, Python
This package contains messages for defining shapes, such as simple solid
object primitives (cube, sphere, etc), planes, and meshes.
@@ -243,10 +243,10 @@ Description: Messages relating to the ROS stereo C/C++
.
This package contains the generated headers files.
-Package: python-stereo-msgs
+Package: python3-stereo-msgs
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: Messages relating to the ROS stereo, Python
stereo_msgs contains messages specific to stereo processing,
such as disparity images.
@@ -274,10 +274,10 @@ Description: Messages relating to the ROS trajectory C/C++
.
This package contains the generated headers files.
-Package: python-trajectory-msgs
+Package: python3-trajectory-msgs
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: Messages relating to the ROS trajectory, Python
This package defines messages for defining robot trajectories. These messages are
also the building blocks of most of the
@@ -312,10 +312,10 @@ Description: Messages relating to the ROS visualization C/C++
.
This package contains the generated headers files.
-Package: python-visualization-msgs
+Package: python3-visualization-msgs
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: Messages relating to the ROS visualization, Python
visualization_msgs is a set of messages used by higher level packages,
such as rviz, that deal in visualization-specific data.
diff --git a/debian/python-actionlib-msgs.pyinstall b/debian/python-actionlib-msgs.pyinstall
deleted file mode 100644
index af7f913..0000000
--- a/debian/python-actionlib-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/actionlib_msgs/*.py actionlib_msgs
-debian/tmp/usr/lib/python2*/*/actionlib_msgs/msg/*.py actionlib_msgs.msg
diff --git a/debian/python-diagnostic-msgs.pyinstall b/debian/python-diagnostic-msgs.pyinstall
deleted file mode 100644
index 1c04721..0000000
--- a/debian/python-diagnostic-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/diagnostic_msgs/*.py diagnostic_msgs
-debian/tmp/usr/lib/python2*/*/diagnostic_msgs/msg/*.py diagnostic_msgs.msg
diff --git a/debian/python-geometry-msgs.pyinstall b/debian/python-geometry-msgs.pyinstall
deleted file mode 100644
index 06a7d8c..0000000
--- a/debian/python-geometry-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/geometry_msgs/*.py geometry_msgs
-debian/tmp/usr/lib/python2*/*/geometry_msgs/msg/*.py geometry_msgs.msg
diff --git a/debian/python-nav-msgs.pyinstall b/debian/python-nav-msgs.pyinstall
deleted file mode 100644
index f4c7a38..0000000
--- a/debian/python-nav-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/nav_msgs/*.py nav_msgs
-debian/tmp/usr/lib/python2*/*/nav_msgs/msg/*.py nav_msgs.msg
diff --git a/debian/python-rosgraph-msgs.pyinstall b/debian/python-rosgraph-msgs.pyinstall
deleted file mode 100644
index 3680d2b..0000000
--- a/debian/python-rosgraph-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/rosgraph_msgs/*.py rosgraph_msgs
-debian/tmp/usr/lib/python2*/*/rosgraph_msgs/msg/*.py rosgraph_msgs.msg
diff --git a/debian/python-sensor-msgs.pyinstall b/debian/python-sensor-msgs.pyinstall
deleted file mode 100644
index a7ee1a3..0000000
--- a/debian/python-sensor-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/sensor_msgs/*.py sensor_msgs
-debian/tmp/usr/lib/python2*/*/sensor_msgs/msg/*.py sensor_msgs.msg
diff --git a/debian/python-shape-msgs.pyinstall b/debian/python-shape-msgs.pyinstall
deleted file mode 100644
index 9e1deb3..0000000
--- a/debian/python-shape-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/shape_msgs/*.py shape_msgs
-debian/tmp/usr/lib/python2*/*/shape_msgs/msg/*.py shape_msgs.msg
diff --git a/debian/python-stereo-msgs.pyinstall b/debian/python-stereo-msgs.pyinstall
deleted file mode 100644
index 596766a..0000000
--- a/debian/python-stereo-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/stereo_msgs/*.py stereo_msgs
-debian/tmp/usr/lib/python2*/*/stereo_msgs/msg/*.py stereo_msgs.msg
diff --git a/debian/python-trajectory-msgs.pyinstall b/debian/python-trajectory-msgs.pyinstall
deleted file mode 100644
index d438282..0000000
--- a/debian/python-trajectory-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/trajectory_msgs/*.py trajectory_msgs
-debian/tmp/usr/lib/python2*/*/trajectory_msgs/msg/*.py trajectory_msgs.msg
diff --git a/debian/python-visualization-msgs.pyinstall b/debian/python-visualization-msgs.pyinstall
deleted file mode 100644
index b6f4137..0000000
--- a/debian/python-visualization-msgs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/visualization_msgs/*.py visualization_msgs
-debian/tmp/usr/lib/python2*/*/visualization_msgs/msg/*.py visualization_msgs.msg
diff --git a/debian/python3-actionlib-msgs.install b/debian/python3-actionlib-msgs.install
new file mode 100644
index 0000000..4cde8cf
--- /dev/null
+++ b/debian/python3-actionlib-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/actionlib_msgs
diff --git a/debian/python3-diagnostic-msgs.install b/debian/python3-diagnostic-msgs.install
new file mode 100644
index 0000000..8a84119
--- /dev/null
+++ b/debian/python3-diagnostic-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/diagnostic_msgs
diff --git a/debian/python3-geometry-msgs.install b/debian/python3-geometry-msgs.install
new file mode 100644
index 0000000..bd041a9
--- /dev/null
+++ b/debian/python3-geometry-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/geometry_msgs
diff --git a/debian/python3-nav-msgs.install b/debian/python3-nav-msgs.install
new file mode 100644
index 0000000..45bb589
--- /dev/null
+++ b/debian/python3-nav-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/nav_msgs
diff --git a/debian/python3-rosgraph-msgs.install b/debian/python3-rosgraph-msgs.install
new file mode 100644
index 0000000..b6ca487
--- /dev/null
+++ b/debian/python3-rosgraph-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/rosgraph_msgs
diff --git a/debian/python3-sensor-msgs.install b/debian/python3-sensor-msgs.install
new file mode 100644
index 0000000..7c79729
--- /dev/null
+++ b/debian/python3-sensor-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/sensor_msgs
diff --git a/debian/python3-shape-msgs.install b/debian/python3-shape-msgs.install
new file mode 100644
index 0000000..dbda315
--- /dev/null
+++ b/debian/python3-shape-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/shape_msgs
diff --git a/debian/python3-stereo-msgs.install b/debian/python3-stereo-msgs.install
new file mode 100644
index 0000000..454b57a
--- /dev/null
+++ b/debian/python3-stereo-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/stereo_msgs
diff --git a/debian/python3-trajectory-msgs.install b/debian/python3-trajectory-msgs.install
new file mode 100644
index 0000000..6307777
--- /dev/null
+++ b/debian/python3-trajectory-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/trajectory_msgs
diff --git a/debian/python3-visualization-msgs.install b/debian/python3-visualization-msgs.install
new file mode 100644
index 0000000..0885ee0
--- /dev/null
+++ b/debian/python3-visualization-msgs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/visualization_msgs
diff --git a/debian/rules b/debian/rules
index b5cb04f..c68e682 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,32 +1,6 @@
#!/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
-
-# 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)
-
-
-
+ dh $@ --parallel --buildsystem=cmake --with python3
+override_dh_auto_configure:
+ dh_auto_configure -- -DPython_ADDITIONAL_VERSIONS=3.4
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-common-msgs.git
More information about the debian-science-commits
mailing list