# HG changeset patch
# User Paul Crowley <paul@lshift.net>
# Date 1345806251 -3600
# Node ID 3b4e568ded2c088029985e3477371d51551513be
# Parent  a14142919eb36cd5b5294848eac72c781ec97b27
Use dh_python2 as per http://wiki.debian.org/Python/TransitionToDHPython2

diff -r a14142919eb3 -r 3b4e568ded2c debian/control
--- a/debian/control	Fri Aug 24 11:52:59 2012 +0100
+++ b/debian/control	Fri Aug 24 12:04:11 2012 +0100
@@ -2,7 +2,7 @@
 Section: devel
 Priority: extra
 Maintainer: Paul Crowley <paul@lshift.net>
-Build-Depends: debhelper (>= 7.0.50~), python-support, xsltproc, docbook-xsl
+Build-Depends: debhelper (>= 7.0.50~), xsltproc, docbook-xsl
 Standards-Version: 3.9.3
 Homepage: http://www.lshift.net/mercurial-server.html
 Vcs-Browser: http://hg.opensource.lshift.net/mercurial-server/
@@ -10,7 +10,7 @@
 
 Package: mercurial-server
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, adduser, python, mercurial, openssh-server | ssh-server
+Depends: ${misc:Depends}, ${python:Depends}, adduser, python (>= 2.6.6-3~), mercurial, openssh-server | ssh-server
 Description: shared Mercurial repository service
  mercurial-server makes a group of repositories available to the developers
  you choose, identified by SSH keys, with easy key and access management
diff -r a14142919eb3 -r 3b4e568ded2c debian/rules
--- a/debian/rules	Fri Aug 24 11:52:59 2012 +0100
+++ b/debian/rules	Fri Aug 24 12:04:11 2012 +0100
@@ -7,8 +7,8 @@
 	    DESTDIR=./debian/mercurial-server/ \
 	    PREFIX=/usr/share
 
-override_dh_pysupport:
-	dh_pysupport /usr/share/mercurial-server/mercurialserver
+override_dh_python2:
+	dh_python2 /usr/share/mercurial-server/mercurialserver
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS