Package: src:use Version: 2.6.2-1 Tags: patch Usertags: origin-ubuntu ubuntu-patch wily
In Ubuntu, we've applied the attached patch to achieve the following: - debian/control, debian/patches/use-python3.patch: + Switch to use python3. We thought you might be interested in doing the same.
diff -pruN -x '*~' ust-2.6.2/debian/control ust-2.6.2.orig/debian/control --- ust-2.6.2/debian/control 2015-06-18 23:07:13.000000000 +0200 +++ ust-2.6.2.orig/debian/control 2015-06-24 14:32:57.113209786 +0200 @@ -2,7 +2,7 @@ Source: ust Priority: extra Maintainer: Jon Bernard <jbern...@debian.org> Build-Depends: debhelper (>= 9), dh-autoreconf, liburcu-dev (>= 0.8.4), - uuid-dev, texinfo, python + uuid-dev, texinfo, python3:any, dh-python Standards-Version: 3.9.6 Section: libs Vcs-Git: git://anonscm.debian.org/collab-maint/ust.git @@ -49,7 +49,7 @@ Multi-Arch: same Depends: ${misc:Depends}, liblttng-ust0 (= ${binary:Version}), liblttng-ust-ctl2 (= ${binary:Version}), liburcu-dev (>= 0.8.4), uuid-dev -Recommends: python +Recommends: python3 Conflicts: liblttng-ust2 Replaces: liblttng-ust2 Breaks: liblttng-ust0 (<< 2.3.0) diff -pruN -x '*~' ust-2.6.2/debian/patches/series ust-2.6.2.orig/debian/patches/series --- ust-2.6.2/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ ust-2.6.2.orig/debian/patches/series 2015-06-24 14:32:48.957151978 +0200 @@ -0,0 +1 @@ +use-python3.patch diff -pruN -x '*~' ust-2.6.2/debian/patches/use-python3.patch ust-2.6.2.orig/debian/patches/use-python3.patch --- ust-2.6.2/debian/patches/use-python3.patch 1970-01-01 01:00:00.000000000 +0100 +++ ust-2.6.2.orig/debian/patches/use-python3.patch 2015-06-24 14:32:48.957151978 +0200 @@ -0,0 +1,13 @@ +Description: use python3 +Author: Dimitri John Ledkov <x...@ubuntu.com> + +Index: ust-2.5.1-1ubuntu1/tools/lttng-gen-tp +=================================================================== +--- ust-2.5.1-1ubuntu1.orig/tools/lttng-gen-tp ++++ ust-2.5.1-1ubuntu1/tools/lttng-gen-tp +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python3 + # + # Copyright (c) 2012 Yannick Brosseau <yannick.bross...@gmail.com> + #