[ros-interactive-markers] 01/01: add python3 support

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


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

josch pushed a commit to branch python3
in repository ros-interactive-markers.

commit 05113ad01ffb9e8e37c7c60d45815a59572ecbc2
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Sun Oct 18 12:10:47 2015 +0200

    add python3 support
---
 debian/control                              |  6 +++---
 debian/python-interactive-markers.pyinstall |  1 -
 debian/python3-interactive-markers.install  |  1 +
 debian/rules                                | 27 +++++++--------------------
 4 files changed, 11 insertions(+), 24 deletions(-)

diff --git a/debian/control b/debian/control
index 8d75094..4d08721 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), dh-exec (>=0.3), catkin, librosconsole-dev, libroscpp-dev, python-rospy, librostest-dev, libstd-msgs-dev, libtf-dev, libvisualization-msgs-dev
+Build-Depends: debhelper (>= 9), dh-exec (>=0.3), catkin, librosconsole-dev, libroscpp-dev, python3-rospy, librostest-dev, libstd-msgs-dev, libtf-dev, libvisualization-msgs-dev
 Standards-Version: 3.9.6
 Section: libs
 Homepage: http://wiki.ros.org/interactive_markers
@@ -28,10 +28,10 @@ Description: ROS interactive_markers package
  .
  This package contains the library itself.
 
-Package: python-interactive-markers
+Package: python3-interactive-markers
 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 interactive_markers package - Python
  3D interactive marker communication library for RViz and similar tools.
  .
diff --git a/debian/python-interactive-markers.pyinstall b/debian/python-interactive-markers.pyinstall
deleted file mode 100644
index 2aabb16..0000000
--- a/debian/python-interactive-markers.pyinstall
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/lib/python2*/*/interactive_markers/*.py interactive_markers
diff --git a/debian/python3-interactive-markers.install b/debian/python3-interactive-markers.install
new file mode 100644
index 0000000..6ae9bb3
--- /dev/null
+++ b/debian/python3-interactive-markers.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/interactive_markers
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-interactive-markers.git



More information about the debian-science-commits mailing list