[ros-genpy] 01/01: add python3 support
Johannes Schauer
josch at moszumanska.debian.org
Mon Oct 26 13:56: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-genpy.
commit da790939fd38b6b1b9f703b98ed84f97dbf57e6a
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date: Sun Oct 18 08:31:27 2015 +0200
add python3 support
---
debian/control | 10 +++++-----
debian/python-genpy.install | 3 ---
debian/python-genpy.pyinstall | 1 -
debian/python3-genpy.install | 3 +++
debian/rules | 28 +++-------------------------
5 files changed, 11 insertions(+), 34 deletions(-)
diff --git a/debian/control b/debian/control
index d3c2312..08f1b67 100644
--- a/debian/control
+++ b/debian/control
@@ -6,17 +6,17 @@ Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,
Jochen Sprickerhof <debian at jochen.sprickerhof.de>,
Leopold Palomo-Avellaneda <leo at alaxarxa.net>
#python-yaml needed for tests only
-Build-Depends: debhelper (>= 9), cmake, catkin, python-genmsg, python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), python-yaml
+Build-Depends: debhelper (>= 9), cmake, catkin, python3-genmsg, python3-setuptools (>= 0.6b3), python3-all (>= 2.6.6-3), python3-yaml, python3-nose
Standards-Version: 3.9.6
Homepage: http://wiki.ros.org/genpy
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/ros-genpy.git
Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/ros-genpy.git
-X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
-Package: python-genpy
+Package: python3-genpy
Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-genmsg
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, python3-genmsg
Description: Python ROS message and service generators
Python program that generate ROS messages and service code
for Python. It help you from normal plain files generate the code
- to use with your program.
\ No newline at end of file
+ to use with your program.
diff --git a/debian/python-genpy.install b/debian/python-genpy.install
deleted file mode 100644
index dcf112d..0000000
--- a/debian/python-genpy.install
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/share/genpy
-usr/lib/genpy
-usr/etc/ros /etc
diff --git a/debian/python-genpy.pyinstall b/debian/python-genpy.pyinstall
deleted file mode 100644
index 1c6df75..0000000
--- a/debian/python-genpy.pyinstall
+++ /dev/null
@@ -1 +0,0 @@
-src/genpy/*.py genpy
diff --git a/debian/python3-genpy.install b/debian/python3-genpy.install
new file mode 100644
index 0000000..ef78dc7
--- /dev/null
+++ b/debian/python3-genpy.install
@@ -0,0 +1,3 @@
+usr/share
+usr/lib
+usr/etc/ros /etc
diff --git a/debian/rules b/debian/rules
index 8642770..69c8c6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,31 +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
+ dh $@ --parallel --buildsystem=cmake --with python3
-# 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:
dh_auto_install --destdir=debian/tmp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-genpy.git
More information about the debian-science-commits
mailing list