Package: debhelper
Version: 4.2.36
Tags: patch

dh_python is broken when using the -V argument.  The version number
isn't bumped from the system version to the specified version, which
causes the wrong site-package directories to be scanned.

This one line patch fixes it for my testcase.

$ diff -u /tmp/dh_python /usr/bin/dh_python
--- /tmp/dh_python      2005-06-09 08:35:36.680794430 -0400
+++ /usr/bin/dh_python  2005-06-09 08:36:18.322094952 -0400
@@ -96,6 +96,7 @@
 # Check for -V
 my $usepython = "python$python_version";
 if($dh{V_FLAG_SET}) {
+       $python_version = $dh{V_FLAG};
        $usepython = $dh{V_FLAG};
        $usepython =~ s/^/python/;
        if (! grep { $_ eq $usepython } @python_allversions) {




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to