Use dh_python2 as per http://wiki.debian.org/Python/TransitionToDHPython2
authorPaul Crowley <paul@lshift.net>
Fri, 24 Aug 2012 12:04:11 +0100
changeset 360 3b4e568ded2c
parent 359 a14142919eb3
child 361 1ffbfa691f9d
Use dh_python2 as per http://wiki.debian.org/Python/TransitionToDHPython2
debian/control
debian/rules
--- 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
--- 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