diff --git a/debian/control b/debian/control
index 15256516391c36f53604956c194b9e553f4d2af6_ZGViaWFuL2NvbnRyb2w=..01d70c2733f7599bd8b6b7985f9b221cea1d7a6c_ZGViaWFuL2NvbnRyb2w= 100644
--- a/debian/control
+++ b/debian/control
@@ -2,5 +2,5 @@
 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
@@ -6,5 +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
index 15256516391c36f53604956c194b9e553f4d2af6_ZGViaWFuL3J1bGVz..01d70c2733f7599bd8b6b7985f9b221cea1d7a6c_ZGViaWFuL3J1bGVz 100644
--- 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