[ros-actionlib] 01/01: add python3 support

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


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

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

commit e134647d47c1f664696149543e90517d69fea0fa
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Sun Oct 18 11:20:07 2015 +0200

    add python3 support
---
 debian/control                    | 12 ++++++------
 debian/python-actionlib.pyinstall |  2 --
 debian/python3-actionlib.install  |  1 +
 debian/rules                      | 26 +++++---------------------
 4 files changed, 12 insertions(+), 29 deletions(-)

diff --git a/debian/control b/debian/control
index 25dca13..780209d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,15 +6,15 @@ Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,
            Leopold Palomo-Avellaneda <leo at alaxarxa.net>
 Build-Depends: debhelper (>= 9), dh-exec (>=0.3),
 		catkin, libroscpp-core-dev, message-generation, libstd-msgs-dev,
-		libactionlib-msgs-dev, python-rospy, python-rostest,
-		python-all (>= 2.6.6-3), python-setuptools (>= 0.6b3),
+		libactionlib-msgs-dev, python3-rospy, python3-rostest,
+		python3-all (>= 2.6.6-3), python3-setuptools (>= 0.6b3),
 		libboost-dev, libboost-thread-dev, libboost-signals-dev,
 		libboost-filesystem-dev, libboost-regex-dev,
 		libroscpp-dev,
 		librosconsole-dev,
 		libros-rosgraph-msgs-dev,
 		libxmlrpcpp-dev,
-		python-rosunit,
+		python3-rosunit,
 		libroscpp-msgs-dev,
 		libconsole-bridge-dev
 Standards-Version: 3.9.6
@@ -38,7 +38,7 @@ Package: libactionlib-dev
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends}, libactionlib0d ( = ${binary:Version}),
-	${python:Depends}, python, libboost-thread-dev
+	${python3:Depends}, python3, libboost-thread-dev
 Description: ROS actionlib library - development files
  The actionlib stack provides a standardized interface for
  interfacing with preemptable tasks. Examples of this include moving
@@ -47,10 +47,10 @@ Description: ROS actionlib library - development files
  .
  This package contains the development files.
 
-Package: python-actionlib
+Package: python3-actionlib
 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 actionlib library - Python
  The actionlib stack provides a standardized interface for
  interfacing with preemptable tasks. Examples of this include moving
diff --git a/debian/python-actionlib.pyinstall b/debian/python-actionlib.pyinstall
deleted file mode 100644
index 4f1adf2..0000000
--- a/debian/python-actionlib.pyinstall
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*/*/actionlib/*.py actionlib
-debian/tmp/usr/lib/python2*/*/actionlib/msg/*.py actionlib.msg
diff --git a/debian/python3-actionlib.install b/debian/python3-actionlib.install
new file mode 100644
index 0000000..166e28a
--- /dev/null
+++ b/debian/python3-actionlib.install
@@ -0,0 +1 @@
+usr/lib/python3*/*/actionlib
diff --git a/debian/rules b/debian/rules
index 2406abe..ff95b4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,27 +1,11 @@
 #!/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 -- \
-	-DCATKIN_ENABLE_TESTING=OFF
+	-DCATKIN_ENABLE_TESTING=OFF -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-actionlib.git



More information about the debian-science-commits mailing list