Bug#616940: deprecation of dh_pycentral, please use dh_python2

Steve Langasek steve.langasek at canonical.com
Fri Jun 10 09:28:11 UTC 2011


Package: pitivi
Version: 0.13.9.90-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

Hi folks,

This has just been addressed in Ubuntu with the following patch.  You may
wish to apply this patch to the Debian package as well.

(python 2.7 is now a supported version in unstable, so that's no longer a
reason to wait before uploading.)

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
=== modified file 'debian/control'
--- debian/control	2011-05-26 13:29:25 +0000
+++ debian/control	2011-06-10 09:14:08 +0000
@@ -7,12 +7,10 @@
 Build-Depends: cdbs (>= 0.4.43),
         debhelper (>= 7),
         dh-buildinfo
-Build-Depends-Indep: python-dev (>= 2.5),
-                     python-central (>= 0.5.10),
+Build-Depends-Indep: python-dev (>= 2.6.6-3~),
                      libxml-parser-perl,
                      intltool (>= 0.35)
 Standards-Version: 3.9.0
-XS-Python-Version: current
 Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/pitivi/ubuntu
 
 Package: pitivi
@@ -42,7 +40,6 @@
           gstreamer0.10-ffmpeg,
           frei0r-plugins,
           hal
-XB-Python-Version: ${python:Versions}
 Description: non-linear audio/video editor using GStreamer
  GStreamer is a streaming media framework, based on graphs of filters
  which operate on media data.  Applications using this library can do

=== removed file 'debian/pycompat'
--- debian/pycompat	2010-01-27 06:19:11 +0000
+++ debian/pycompat	1970-01-01 00:00:00 +0000
@@ -1 +0,0 @@
-2

=== modified file 'debian/rules'
--- debian/rules	2010-08-04 12:21:10 +0000
+++ debian/rules	2011-06-10 09:15:02 +0000
@@ -8,6 +8,5 @@
 binary-post-install/pitivi::
 	# set executable bit on files with a shebang
 	egrep -rlZ '^#!(.*)python' debian/pitivi/usr/lib/pitivi | xargs -0 chmod a+x --
-	dh_pycentral
-	dh_python
+	dh_python2
 



More information about the pkg-gstreamer-maintainers mailing list