Package: pyxdg
Version: 0.19-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

python-support is now officially deprecated in Debian:

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

Attached is a patch which converts pyxdg to use the recommended dh_python2.
It follows this guide:
http://wiki.debian.org/Python/TransitionToDHPython2

diff -Nru pyxdg-0.19/debian/control pyxdg-0.19/debian/control
--- pyxdg-0.19/debian/control   2011-05-08 19:33:52.000000000 +0200
+++ pyxdg-0.19/debian/control   2011-08-08 23:06:50.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
 Uploaders: Piotr Lewandowski <piotr.lewandow...@gmail.com>
-Build-Depends: debhelper (>= 7), python-support
+Build-Depends: debhelper (>= 7), python-all (>= 2.6.6-3~)
 Standards-Version: 3.9.2
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyxdg/trunk/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyxdg/trunk/
diff -Nru pyxdg-0.19/debian/pyversions pyxdg-0.19/debian/pyversions
--- pyxdg-0.19/debian/pyversions        2009-12-09 21:11:54.000000000 +0100
+++ pyxdg-0.19/debian/pyversions        1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-2.3-
diff -Nru pyxdg-0.19/debian/rules pyxdg-0.19/debian/rules
--- pyxdg-0.19/debian/rules     2009-12-09 21:11:54.000000000 +0100
+++ pyxdg-0.19/debian/rules     2011-08-08 23:06:57.000000000 +0200
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-       dh $@
+       dh $@ --with python2

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to