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

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


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

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

commit 5d5e7b170d5136080a39e883ae214ff7846e85b6
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Sun Oct 18 10:05:52 2015 +0200

    add python3 support
---
 debian/control                        | 10 +++++-----
 debian/python-rosgraph-msgs.pyinstall |  2 --
 debian/python-std-srvs.pyinstall      |  2 --
 debian/python3-rosgraph-msgs.install  |  1 +
 debian/python3-std-srvs.install       |  1 +
 debian/rules                          | 33 +++++----------------------------
 6 files changed, 12 insertions(+), 37 deletions(-)

diff --git a/debian/control b/debian/control
index e53a52d..f50ccba 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 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)
+Build-Depends: debhelper (>= 9), catkin, libroscpp-core-dev, message-generation, libstd-msgs-dev, python3-all (>= 2.6.6-3), python3-setuptools (>= 0.6b3)
 Standards-Version: 3.9.6
 Section: libs
 Homepage: https://github.com/ros/ros_comm_msgs
@@ -21,10 +21,10 @@ Description: Messages relating to the ROS Computation Graph
  strongly advised against. These messages are generally wrapped in higher level
  APIs.
 
-Package: python-rosgraph-msgs
+Package: python3-rosgraph-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 Computation Graph, Python
  rosgraph_msgs contains message relating to the ROS Computation Graph. Most
  users are not expected to interact with messages in this package, and it is
@@ -54,10 +54,10 @@ Description: ROS Common service definitions
  called Empty, which is a common  service pattern for sending a signal to a 
  ROS node. No actual data is  exchanged between the service and the client.
 
-Package: python-std-srvs
+Package: python3-std-srvs
 Section: python
 Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Description: ROS Common service definitions, Python
  Currently just the 'Empty' service.  std_srvs contains a single service type 
  called Empty, which is a common  service pattern for sending a signal to a 
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-std-srvs.pyinstall b/debian/python-std-srvs.pyinstall
deleted file mode 100644
index e9be93b..0000000
--- a/debian/python-std-srvs.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/std_srvs/*.py std_srvs
-debian/tmp/usr/lib/python2*/*/std_srvs/srv/*.py std_srvs.srv
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-std-srvs.install b/debian/python3-std-srvs.install
new file mode 100644
index 0000000..3f24389
--- /dev/null
+++ b/debian/python3-std-srvs.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/std_srvs
diff --git a/debian/rules b/debian/rules
index b5cb04f..c0b0d42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,32 +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
-
-# 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
 
+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-ros-comm-msgs.git



More information about the debian-science-commits mailing list