X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_python;h=722d81354f5fa0af6d0ea95ccf29d8bce3cc700d;hb=e2a6d4cec4a7ee952cf6a7f250d80f1d75a38f95;hp=6f6689a1d6c9c6abc265321b197c76ed541b8715;hpb=7bc99d44cfc0275e1b44b390bed1362c457da9ab;p=debhelper.git diff --git a/dh_python b/dh_python index 6f6689a..722d813 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 @@ -44,8 +44,8 @@ If you use this program, your package should build-depend on B. If your package installs Python modules in non-standard directories, you can make F check those directories by passing their names on the -command line. By default, it will check F, F, F, +command line. By default, it will check F, +F, F, F, F and F. Note: only F, F and the @@ -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';