diff --git a/debian/changelog b/debian/changelog
index 5bae74c4ea44df09c5d0f3d60d2b8916fa18cd90_ZGViaWFuL2NoYW5nZWxvZw==..50f43db8fe4d5f87490f76756fb5033ef1ab6fc8_ZGViaWFuL2NoYW5nZWxvZw== 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cubicweb-squareui (1.0.3-2) unstable; urgency=medium
+
+  * Refresh debian packaging
+
+ -- Philippe Pepiot <philippe.pepiot@logilab.fr>  Wed, 06 Dec 2017 13:57:01 +0100
+
 cubicweb-squareui (1.0.3-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/control b/debian/control
index 5bae74c4ea44df09c5d0f3d60d2b8916fa18cd90_ZGViaWFuL2NvbnRyb2w=..50f43db8fe4d5f87490f76756fb5033ef1ab6fc8_ZGViaWFuL2NvbnRyb2w= 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,8 @@
 Build-Depends:
  debhelper (>= 9),
  python (>= 2.6.5),
-Standards-Version: 3.9.6
-X-Python-Version: >= 2.6
+ dh-python,
+Standards-Version: 3.9.8
 
 Package: cubicweb-squareui
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 5bae74c4ea44df09c5d0f3d60d2b8916fa18cd90_ZGViaWFuL3J1bGVz..50f43db8fe4d5f87490f76756fb5033ef1ab6fc8_ZGViaWFuL3J1bGVz 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+export PYBUILD_DISABLE=test
 export NO_SETUPTOOLS=1
 
 %:
@@ -3,12 +4,4 @@
 export NO_SETUPTOOLS=1
 
 %:
-	dh $@ --with python2
-
-override_dh_auto_install:
-	dh_auto_install
-	# remove generated .egg-info file
-	rm -rf debian/*/usr/lib/python*
-
-override_dh_python2:
-	dh_python2 -i /usr/share/cubicweb
+	dh $@ --with python2 --buildsystem=pybuild