Package: debhelper
Version: 5.0.37.2
Severity: normal
Tags: patch
When dh_python detect that it has to generate a python dependency and when
the minimum version requested is greater than the current version, it
fallbacks to depending on python2.x. However it would be better to depend
on "python (>= 2.x) | python2.x" as it allows the package to still work
when python2.(x+1) is out and the user can then remove python2.x
nevertheless.
Patch is below. It's a good improvement but there's no hurry to rush
this fix into unstable IMO.
=== modified file 'dh_python'
--- dh_python
+++ dh_python
@@ -484,7 +484,8 @@
# Min version is greater to current
version
# Supposition: new stuff working only
with the latest python,
# depend on that specific python version
- addsubstvar($package, "python:Depends",
"python$min_version");
+ addsubstvar($package, "python:Depends",
+ "python (>= $min_version) |
python$min_version");
}
}
# If a stronger dependency is needed
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages debhelper depends on:
ii binutils 2.16.1cvs20060413-1 The GNU assembler, linker and bina
ii coreutils 5.96-3 The GNU core utilities
ii dpkg-dev 1.13.22 package building tools for Debian
ii file 4.17-2 Determines file type using "magic"
ii html2text 1.3.2a-3 An advanced HTML to text converter
ii perl 5.8.8-6 Larry Wall's Practical Extraction
ii po-debconf 1.0.2 manage translated Debconf template
debhelper recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]