[packaging] Switch to dh_python2 (closes: #637400).

authorJulien Cristau <jcristau@debian.org>
changeset347a7f4340d8
branchdefault
phasepublic
hiddenno
parent revision#6943514c2fd9 Added tag hgview-version-1.3.0 for changeset d43754c8e5b5
child revision#12c2bab8606a [packaging] add bug closer
files modified by this revision
debian/changelog
debian/control
debian/rules
# HG changeset patch
# User Julien Cristau <jcristau@debian.org>
# Date 1313496032 -7200
# Tue Aug 16 14:00:32 2011 +0200
# Node ID 347a7f4340d831dfda7c584084ec9eb950918ad1
# Parent 6943514c2fd9fdfb8c8402d73be20582654a43eb
[packaging] Switch to dh_python2 (closes: #637400).

diff --git a/debian/changelog b/debian/changelog
@@ -1,5 +1,11 @@
1 +hgview (1.3.0-2) UNRELEASED; urgency=low
2 +
3 +  * Switch to dh_python2 (closes: #637400).
4 +
5 + -- Julien Cristau <jcristau@debian.org>  Tue, 16 Aug 2011 12:17:12 +0200
6 +
7  hgview (1.3.0-1) unstable; urgency=low
8 
9    * New upstream release
10 
11   -- Alain Leufroy <alain.leufroy@logilab.fr>  Mon, 30 May 2011 10:46:38 +0200
diff --git a/debian/control b/debian/control
@@ -1,22 +1,20 @@
12  Source: hgview
13  Section: vcs
14  Priority: optional
15  Maintainer: David Douard <david.douard@logilab.fr>
16  Uploaders: Alexandre Fayolle <afayolle@debian.org>, Alain Leufroy <alain.leufroy@logilab.fr>
17 -Build-Depends: debhelper (>= 5.0.38), pyqt4-dev-tools, python (>=2.5), xmlto, asciidoc, mercurial
18 -Build-Depends-Indep: python-support
19 -XS-Python-Version: >= 2.5
20 +Build-Depends: debhelper (>= 5.0.38), pyqt4-dev-tools, python (>=2.6.6-3~), xmlto, asciidoc, mercurial
21 +X-Python-Version: >= 2.5
22  Standards-Version: 3.9.1
23  Vcs-Hg: http://www.logilab.org/cgi-bin/hgwebdir.cgi/hgview
24  Vcs-Browser: http://www.logilab.org/cgi-bin/hgwebdir.cgi/hgview
25  Homepage: http://www.logilab.org/project/hgview
26 
27  Package: hgview
28  Architecture: all
29 -Depends: ${python:Depends}, ${misc:Depends}, python-qt4, python-qscintilla2, python-egenix-mxdatetime, mercurial (>= 1.1.0), python-docutils
30 +Depends: ${python:Depends}, ${misc:Depends}, python-qt4, python-qscintilla2, python-egenix-mxdatetime, mercurial (>= 1.9.1-1), python-docutils
31  Enhances: mercurial
32 -XB-Python-Version: ${python:Versions}
33  Description: mercurial interactive history viewer
34   Its purpose is to easily navigate in a mercurial repository
35   history. It has been written with efficiency in mind when dealing
36   with quite big repositories.
diff --git a/debian/rules b/debian/rules
@@ -43,11 +43,11 @@
37  # Build architecture-independent files here.
38  binary-indep: build install
39  	dh_testdir 
40  	dh_testroot 
41  	dh_install -i
42 -	dh_pysupport -i
43 +	dh_python2 -i
44  	dh_installchangelogs -i ChangeLog
45  	dh_installexamples -i
46  	dh_installdocs -i 
47  	dh_installman -i
48  	dh_link -i