Package: prettytable
Version: 0.6-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

Hi,

python-support is mostly deprecated in favour of dh_python2.  Please consider 
converting to it, patch attached.

  * Convert to dh_python2:
    - debian/control: Removed python-support from Build-Depends-Indep.
    - debian/rules: Added --with python2 to complete transition. 


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-24-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru prettytable-0.6/debian/control prettytable-0.6/debian/control
--- prettytable-0.6/debian/control	2012-05-01 10:56:23.000000000 +0100
+++ prettytable-0.6/debian/control	2012-05-20 10:39:39.000000000 +0100
@@ -4,7 +4,6 @@
 Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
 Uploaders: Sandro Tosi <mo...@debian.org>
 Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), python3-all (>= 3.1.3-3), python-setuptools, python3-setuptools
-Build-Depends-Indep: python-support (>= 1.0.0)
 Standards-Version: 3.9.3
 Homepage: http://code.google.com/p/prettytable/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/prettytable/trunk/
diff -Nru prettytable-0.6/debian/rules prettytable-0.6/debian/rules
--- prettytable-0.6/debian/rules	2012-05-06 09:58:36.000000000 +0100
+++ prettytable-0.6/debian/rules	2012-05-20 10:37:56.000000000 +0100
@@ -6,7 +6,7 @@
 PY3VERS := $(shell py3versions -s)
 
 %:
-	dh $@ --with python3
+	dh $@ --with python2,python3
 
 override_dh_auto_install:
 	set -e ; \

Reply via email to