X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_python;h=3ee1cd4d165643d3bfcef34d9e646a454f61e218;hb=99647dd515f97cfc50fa3321b0a38c553746e244;hp=6f6689a1d6c9c6abc265321b197c76ed541b8715;hpb=0952ac2e9995da8abe149f3e42b3b8d9d2797112;p=debhelper.git diff --git a/dh_python b/dh_python index 6f6689a..3ee1cd4 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 @@ -59,7 +59,7 @@ such as B<2.3>. Do not use if you ship modules in F. =item B<-n>, B<--noscripts> -Do not modify F/F scripts. +Do not modify F/F scripts. =back @@ -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';