Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
debian: switch to debhelper 9
Browse files Browse the repository at this point in the history
Debhelper 9 "compatibility level" is what's currently recommended.
Debian 7 and Ubuntu 12.04 both have a suitable debhelper version.

At the Debhelper 7 or 8 "compatibility level" we would have used
the deprecated python-support helper tool, whereas Debhelper 9 does
not have a default Python packaging tool: choose dh_python2, part
of the Debian/Ubuntu 'python' package since before Ubuntu 12.04
and currently the recommended option. This needs a dependency on
python-all (>= 2.7) so do that.

In the process, switch the XS-Python-Version field from the deprecated
keyword 'current' to ">= 2.7" (the recommended syntax),
and remove the deprecated XB-Python-Version field.

Signed-off-by: Simon McVittie <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
  • Loading branch information
smcv authored and dedekind committed Jul 4, 2013
1 parent cc28be9 commit b677fd2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
7
8
9
7 changes: 3 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ Source: bmap-tools
Maintainer: Artem Bityutskiy <[email protected]>
Section: utils
Priority: optional
Build-Depends: debhelper (>= 7),
python-all,
Build-Depends: debhelper (>= 9),
python-all (>= 2.7),
python-setuptools,
Standards-Version: 3.8.4
XS-Python-Version: current
XS-Python-Version: >= 2.7

Package: bmap-tools
Architecture: all
Depends: python (>=2.7),
${misc:Depends},
${python:Depends},
XB-Python-Version: ${python:Versions}
Description: tool to flash image files to block devices using the block map
bmaptool is a generic tool for creating the block map (bmap) for a
file, and copying files using the block map. The idea is that large
Expand Down
4 changes: 1 addition & 3 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/make -f

%:
dh $@


dh $@ --with=python2

0 comments on commit b677fd2

Please sign in to comment.