Bug#637280: totem: please replace deprecated python-support with dh_python2

Steve Langasek steve.langasek at canonical.com
Wed Aug 10 05:57:19 UTC 2011


Package: totem
Version: 3.0.1-1
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

Hi Seb (et al),

python-support is now officially deprecated:

http://article.gmane.org/gmane.linux.debian.devel.python/6948

In Ubuntu, we are removing python-support from our CDs for the Ubuntu 11.10
release.  As part of that work, we have converted totem to dh_python2
according to these guidelines:

http://wiki.debian.org/Python/TransitionToDHPython2

Please consider applying the attached patch in Debian, to complete the
migration there as well.

Cheers,
-- 
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-23 13:36:39 +0000
+++ debian/control	2011-08-10 04:15:17 +0000
@@ -11,8 +11,7 @@
 Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>, Emilio Pozuelo Monfort <pochu at debian.org>, Josselin Mouette <joss at debian.org>, Sebastian Dr?ge <slomo at debian.org>
 Build-Depends: debhelper (>= 5.0.51~),
                cdbs (>= 0.4.90),
-               python (>= 2.3),
-               python-support (>= 0.6),
+               python (>= 2.6.6-3~),
                python-gobject-dev (>= 2.27),
                libglib2.0-dev (>= 2.27.92),
                libatk1.0-dev (>= 1.29.4),
=== modified file 'debian/control.in'
--- debian/control.in	2011-05-23 13:36:39 +0000
+++ debian/control.in	2011-08-10 04:14:37 +0000
@@ -6,8 +6,7 @@
 Uploaders: @GNOME_TEAM@
 Build-Depends: debhelper (>= 5.0.51~),
                cdbs (>= 0.4.90),
-               python (>= 2.3),
-               python-support (>= 0.6),
+               python (>= 2.6.6-3~),
                python-gobject-dev (>= 2.27),
                libglib2.0-dev (>= 2.27.92),
                libatk1.0-dev (>= 1.29.4),
=== modified file 'debian/rules'
--- debian/rules	2011-05-20 14:37:43 +0000
+++ debian/rules	2011-08-10 04:13:52 +0000
@@ -29,11 +29,11 @@
 endif
 
 binary-install/totem::
-	dh_pysupport -ptotem
+	dh_python2 -ptotem /usr/lib/totem/totem
 binary-install/totem-plugins::
-	dh_pysupport -ptotem-plugins /usr/lib/totem/plugins
+	dh_python2 -ptotem-plugins /usr/lib/totem/plugins
 binary-install/totem-plugins-extra::
-	dh_pysupport -ptotem-plugins-extra /usr/lib/totem/plugins
+	dh_python2 -ptotem-plugins-extra /usr/lib/totem/plugins
 
 common-binary-predeb-arch::
 	find debian -name *.a -exec rm '{}' \;



More information about the pkg-gnome-maintainers mailing list