# HG changeset patch
# User Julien Cristau <julien.cristau@logilab.fr>
# Date 1422625097 -3600
#      Fri Jan 30 14:38:17 2015 +0100
# Node ID 01d70c2733f7599bd8b6b7985f9b221cea1d7a6c
# Parent  15256516391c36f53604956c194b9e553f4d2af6
[debian] switch to dh_python2

diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,9 @@
 Section: web
 Priority: optional
 Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
-Build-Depends: debhelper (>= 7), python (>=2.5), python-support
+Build-Depends: debhelper (>= 7), python (>= 2.6.5)
 Standards-Version: 3.9.3
-XS-Python-Version: >= 2.5
+X-Python-Version: >= 2.6
 
 Package: cubicweb-squareui
 Architecture: all
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -40,7 +40,7 @@
 	dh_installexamples -i
 	dh_installdocs -i
 	dh_installman -i
-	dh_pysupport -i /usr/share/cubicweb
+	dh_python2 -i /usr/share/cubicweb
 	dh_link -i
 	dh_compress -i -X.py -X.ini -X.xml -Xtest
 	dh_fixperms -i