From 70418489aa926f4fa25b1d14894ce75dba0a0ae9 Mon Sep 17 00:00:00 2001 From: David Douard Date: Wed, 30 Jul 2014 16:32:26 +0200 Subject: [pkg] debian: use dh_python2 and update debian/control --- debian/compat | 2 +- debian/control | 20 +++++++++++++++++--- debian/rules | 3 +-- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control index c9af5e5..e0af5ee 100644 --- a/debian/control +++ b/debian/control @@ -9,8 +9,13 @@ Uploaders: David Douard , Adrien Di Mascio , Nicolas Chauvat , Julien Jehannet , -Build-Depends: debhelper (>= 5.0.38), python (>= 2.5) -Build-Depends-Indep: python-support, python-epydoc, graphviz, python-egenix-mxdatetime, python-unittest2 +Build-Depends: + debhelper (>= 7), + python (>= 2.5), + python-unittest2 | python (>= 2.7), + python-epydoc, + graphviz, + python-egenix-mxdatetime, XS-Python-Version: >= 2.5 Standards-Version: 3.9.1 Homepage: http://www.logilab.org/project/logilab-common @@ -23,7 +28,16 @@ Provides: ${python:Provides} Depends: ${python:Depends}, ${misc:Depends} Suggests: pyro, python-unittest2, python-kerberos Recommends: python-egenix-mxdatetime -Conflicts: python-constraint ( <= 0.3.0-4), python-logilab-astng ( <= 0.16.0-1), pylint ( << 0.11.0-1), devtools ( <= 0.9.0-1), logilab-doctools ( <= 0.1.6-4), python-logilab-aspects ( <= 0.1.4-2), python2.3-logilab-common, python2.4-logilab-common, cubicweb-server ( << 3.6.0-1) +Conflicts: + python-constraint (<= 0.3.0-4), + python-logilab-astng (<= 0.16.0-1), + pylint (<< 0.11.0-1), + devtools (<= 0.9.0-1), + logilab-doctools (<= 0.1.6-4), + python-logilab-aspects (<= 0.1.4-2), + python2.3-logilab-common, + python2.4-logilab-common, + cubicweb-server (<< 3.6.0-1), Description: useful miscellaneous modules used by Logilab projects logilab-common is a collection of low-level Python packages and modules, designed to ease: diff --git a/debian/rules b/debian/rules index edeade9..281998e 100755 --- a/debian/rules +++ b/debian/rules @@ -75,8 +75,7 @@ install: build binary-indep: build install dh_testdir dh_testroot - dh_install -i - dh_pysupport -i + dh_python2 -i dh_installchangelogs -i ChangeLog dh_installexamples -i dh_installdocs -i README doc/apidoc/ -- cgit v1.2.1