diff -Nru librapi2-0.15/debian/changelog librapi2-0.15/debian/changelog
--- librapi2-0.15/debian/changelog	2011-06-05 14:30:19.000000000 +0200
+++ librapi2-0.15/debian/changelog	2013-05-31 08:52:25.000000000 +0200
@@ -1,3 +1,10 @@
+librapi2 (0.15-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Convert to dh_python2 (Closes: #616870).
+
+ -- Luca Falavigna <dktrkranz@debian.org>  Fri, 31 May 2013 08:52:04 +0200
+
 librapi2 (0.15-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru librapi2-0.15/debian/control librapi2-0.15/debian/control
--- librapi2-0.15/debian/control	2011-06-05 14:19:19.000000000 +0200
+++ librapi2-0.15/debian/control	2013-05-31 08:51:32.000000000 +0200
@@ -2,8 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Jonny Lamb <jonny@debian.org>
-Build-Depends: debhelper (>= 5), libsynce0-dev (>= 0.15), pkg-config, libglib2.0-dev, python (>> 2.2), python-all-dev, python-central (>= 0.5), python-pyrex (>= 0.9.6), libhal-dev
-XS-Python-Version: all
+Build-Depends: debhelper (>= 5), libsynce0-dev (>= 0.15), pkg-config, libglib2.0-dev, python (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), python-pyrex (>= 0.9.6), libhal-dev
 Standards-Version: 3.8.4
 Homepage: http://www.synce.org/
 Vcs-Git: git://git.jonnylamb.com/git/packaging/librapi2.git
@@ -56,7 +55,6 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
 Provides: ${python:Provides}
-XB-Python-Version: ${python:Versions}
 Description: Make RAPI calls to a Windows Mobile device, Python bindings
  librapi2 is equivalent to rapi.dll on a Window machine. It allows you to
  make remote calls to your Window Mobile device.
diff -Nru librapi2-0.15/debian/pycompat librapi2-0.15/debian/pycompat
--- librapi2-0.15/debian/pycompat	2011-06-05 14:19:19.000000000 +0200
+++ librapi2-0.15/debian/pycompat	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-2
diff -Nru librapi2-0.15/debian/rules librapi2-0.15/debian/rules
--- librapi2-0.15/debian/rules	2011-06-05 14:22:09.000000000 +0200
+++ librapi2-0.15/debian/rules	2013-05-31 08:51:57.000000000 +0200
@@ -79,7 +79,7 @@
 	dh_link -a
 	dh_compress -a
 	dh_fixperms -a
-	dh_pycentral -ppython-rapi2
+	dh_python2 -ppython-rapi2
 	dh_makeshlibs -a
 	dh_installdeb -a
 	dh_shlibdeps -a
