[ros-message-generation] 01/01: add python3 support

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


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

josch pushed a commit to branch python3
in repository ros-message-generation.

commit 4f12d706b46f69ed7882be178aa4c4047aeeb80a
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Sun Oct 18 08:51:01 2015 +0200

    add python3 support
---
 debian/control |  2 +-
 debian/rules   | 27 ++-------------------------
 2 files changed, 3 insertions(+), 26 deletions(-)

diff --git a/debian/control b/debian/control
index 599d0d4..a42d125 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Homepage: http://wiki.ros.org/message_generation
 
 Package: message-generation
 Architecture: all
-Depends: ${misc:Depends}, python-gencpp, python-genlisp, python-genmsg, python-genpy
+Depends: ${misc:Depends}, python3-gencpp, python3-genlisp, python3-genmsg, python3-genpy
 Description: Modeling in build-time dependencies for generating messages bindings
  This package generate the needed dependencies in build-time of the
  packages, and its bindings, of the messages needed in ROS. It's a
diff --git a/debian/rules b/debian/rules
index e1d0807..ce6b2ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,36 +1,13 @@
 #!/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
 
-# 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)
+override_dh_auto_configure:
+	dh_auto_configure -- -DPython_ADDITIONAL_VERSIONS=3.4
 
 override_dh_auto_install-indep:
 	dh_auto_install --destdir=debian/tmp
 
-
 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-message-generation.git



More information about the debian-science-commits mailing list