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

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


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

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

commit a5e49010fab6d676919e28920780e96359b4ef9f
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Sun Oct 18 12:07:49 2015 +0200

    add python3 support
---
 debian/control |  2 +-
 debian/rules   | 34 +++++-----------------------------
 2 files changed, 6 insertions(+), 30 deletions(-)

diff --git a/debian/control b/debian/control
index 35769f8..2726a5b 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/ros
 Package: pluginlib-dev
 Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, python, libboost-dev, libboost-filesystem-dev, libboost-system-dev, libtinyxml-dev, libclass-loader-dev, librosconsole-dev, libroslib-dev
+Depends: ${misc:Depends}, ${shlibs:Depends}, python3, libboost-dev, libboost-filesystem-dev, libboost-system-dev, libtinyxml-dev, libclass-loader-dev, librosconsole-dev, libroslib-dev
 Description: ROS library for plugins
  The pluginlib package provides tools for writing and dynamically loading
  plugins using the ROS build infrastructure.
diff --git a/debian/rules b/debian/rules
index d3b09f4..0b0618e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,43 +1,19 @@
 #!/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 $@ --buildsystem=cmake
 
-# 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
 
-
-# test suite is broken atm.
 override_dh_auto_test:
 
 override_dh_auto_install:
 	dh_auto_install --
 	-rm -f debian/pluginlib-dev/usr/*.*
 	-rm -f debian/pluginlib-dev/usr/.*
-	-rm -rf debian/pluginlib-dev/usr/lib/python2.7
+	-rm -rf debian/pluginlib-dev/usr/lib/python3*
 	mkdir -p debian/pluginlib-dev/usr/lib/${DEB_HOST_MULTIARCH}/
 	mv debian/pluginlib-dev/usr/lib/pkgconfig debian/pluginlib-dev/usr/lib/${DEB_HOST_MULTIARCH}/
 
-
+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-pluginlib.git



More information about the debian-science-commits mailing list