]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_python
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / dh_python
index f86c9ae5a38ba0c7785554f3dd58444da804f57a..722d81354f5fa0af6d0ea95ccf29d8bce3cc700d 100755 (executable)
--- a/dh_python
+++ b/dh_python
@@ -16,9 +16,9 @@ B<dh_python> [S<I<debhelper options>>] [B<-n>] [B<-V> I<version>] [S<I<module di
 
 =head1 DESCRIPTION
 
-Note: This program is deprecated. You should use B<dh_pysupport> or
-B<dh_pycentral> instead. This program will do nothing if F<debian/pycompat>
-or a B<Python-Version> F<control> file field exists.
+Note: This program is deprecated. You should use B<dh_python2> instead.
+This program will do nothing if F<debian/pycompat> or a
+B<Python-Version> F<control> file field exists.
 
 B<dh_python> 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<python>.
 
 If your package installs Python modules in non-standard directories, you
 can make F<dh_python> check those directories by passing their names on the
-command line. By default, it will check F</usr/lib/site-python,
-/usr/lib/$PACKAGE>, F</usr/share/$PACKAGE>, F</usr/lib/games/$PACKAGE>,
+command line. By default, it will check F</usr/lib/site-python>,
+F</usr/lib/$PACKAGE>, F</usr/share/$PACKAGE>, F</usr/lib/games/$PACKAGE>,
 F</usr/share/games/$PACKAGE> and F</usr/lib/python?.?/site-packages>.
 
 Note: only F</usr/lib/site-python>, F</usr/lib/python?.?/site-packages> and the
@@ -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';