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 <simon.mcvittie@collabora.co.uk>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Maintainer: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
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
#!/usr/bin/make -f
%:
- dh $@
-
-
+ dh $@ --with=python2