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

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


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

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

commit 1e0732132810421f051ab4ccb1ffb843c7af550e
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Sun Oct 18 09:54:31 2015 +0200

    add python3 support
---
 debian/control                  |  8 ++++----
 debian/python-genlisp.install   |  3 ---
 debian/python-genlisp.pyinstall |  1 -
 debian/python3-genlisp.install  |  3 +++
 debian/rules                    | 29 +++--------------------------
 5 files changed, 10 insertions(+), 34 deletions(-)

diff --git a/debian/control b/debian/control
index 4e1c6b6..4f9773b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,16 +5,16 @@ 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), cmake, catkin, python-genmsg, python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3)
+Build-Depends: debhelper (>= 9), cmake, catkin, python3-genmsg, python3-setuptools (>= 0.6b3), python3-all (>= 2.6.6-3)
 Standards-Version: 3.9.6
 Homepage: https://github.com/ros/genlisp
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/ros-genlisp.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/ros-genlisp.git
-X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
 
-Package: python-genlisp
+Package: python3-genlisp
 Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Description: Common-Lisp ROS message and service generators
  Python program that generate ROS messages and service code
  for Lisp. It help you from normal plain files generate the code
diff --git a/debian/python-genlisp.install b/debian/python-genlisp.install
deleted file mode 100644
index dddeac8..0000000
--- a/debian/python-genlisp.install
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/share/genlisp
-usr/lib/genlisp
-usr/etc/ros /etc
diff --git a/debian/python-genlisp.pyinstall b/debian/python-genlisp.pyinstall
deleted file mode 100644
index b33e6d5..0000000
--- a/debian/python-genlisp.pyinstall
+++ /dev/null
@@ -1 +0,0 @@
-src/genlisp/*.py genlisp
diff --git a/debian/python3-genlisp.install b/debian/python3-genlisp.install
new file mode 100644
index 0000000..ef78dc7
--- /dev/null
+++ b/debian/python3-genlisp.install
@@ -0,0 +1,3 @@
+usr/share
+usr/lib
+usr/etc/ros /etc
diff --git a/debian/rules b/debian/rules
index 2fd2d31..34bbe4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,35 +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
 
-# 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
 
 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-genlisp.git



More information about the debian-science-commits mailing list