Bug#766437: libkate: Please switch to new python build framework (dh_python2)

Petter Reinholdtsen pere at hungry.com
Thu Oct 23 05:53:43 UTC 2014


Source: libkate
Version: 0.4.1-1
Tags: patch

Lintian report an error in this package because it uses python-support
instead of dh_python2.  We should switch to the new framework, but I am
unsure if this will affect packages using the python library and
reluctant to do so right before the freeze.  Unless someone can check
that this change is safe for all users of the python library, I believe
we should delay this change to early in the next release cycle.

I suspect this patch is all we need, but am not sure how to verify it.

diff --git a/debian/control b/debian/control
index 2e9f1c3..ba8231d 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,11 @@ Maintainer: Debian Xiph.org Maintainers <pkg-xiph-maint at lists.alioth.debian.org>
 Uploaders:
  Petter Reinholdtsen <pere at debian.org>
  , Martin Steghöfer <martin at steghoefer.eu>
-Build-Depends: debhelper (>= 7.0.50~), dh-autoreconf, autotools-dev, python-all-dev, python-support, liboggz-dev, pkg-config, libpng-dev, doxygen
+Build-Depends: debhelper (>= 7.0.50~), dh-autoreconf, autotools-dev, python-all-dev (>= 2.6.6-3~), dh-python, liboggz-dev, pkg-config, libpng-dev, doxygen
 Standards-Version: 3.9.6
 Section: libs
 Homepage: http://code.google.com/p/libkate/
-XS-Python-Version: >= 2.4
+X-Python-Version: >= 2.4
 Vcs-Git: https://anonscm.debian.org/git/pkg-xiph/libkate.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-xiph/libkate.git
 
diff --git a/debian/rules b/debian/rules
index d08b9e0..6c59cf5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with autoreconf
+	dh $@ --with autoreconf,python2
 
 override_dh_strip:
 	dh_strip --dbg-package=libkate1-dbg

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-xiph-maint mailing list