From 6f4dd18d8f21e85b2192f42aa143bba0d5a1d11e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 28 Jun 2011 13:41:45 -0400 Subject: some tweaks to mention dh_python2 --- dh_python | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dh_python b/dh_python index f86c9ae5..3ee1cd4d 100755 --- a/dh_python +++ b/dh_python @@ -16,9 +16,9 @@ B [S>] [B<-n>] [B<-V> I] [S or -B instead. This program will do nothing if F -or a B F file field exists. +Note: This program is deprecated. You should use B instead. +This program will do nothing if F or a +B F file field exists. B is a debhelper program that is responsible for generating the B<${python:Depends}> substitutions and adding them to substvars files. It @@ -78,11 +78,11 @@ if (-e "debian/pycompat") { exit 0; } elsif (`grep Python-Version: debian/control`) { - warning("Doing nothing since Python-Version is set; dh_pysupport or dh_pycentral should do the work. You can remove dh_python from your rules file."); + warning("Doing nothing since Python-Version is set; dh_python2 should do the work. You can remove dh_python from your rules file."); exit 0; } else { - warning("This program is deprecated, you should use dh_pysupport or dh_pycentral instead."); + warning("This program is deprecated, you should use dh_python2 instead."); } my $python = 'python'; -- cgit v1.2.3