Your message dated Tue, 20 Aug 2013 17:17:58 +0000
with message-id <[email protected]>
and subject line Bug#717374: fixed in debhelper 9.20130720
has caused the Debian Bug report #717374,
regarding Please remove dh_python
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
717374: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717374
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 9.20130630
Severity: wishlist
Tags: patch

Please consider removing dh_python from debhelper package, or at least to avoid
installing it in the binary package.

Efforts have been made to remove it from packages, and finally we reached the
goal that no package in the archive uses it anymore, as shown by the
correspondent lintian tag http://lintian.debian.org/tags/dh_python-is-
obsolete.html.

Attached patch drops dh_python entirely.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.23.52.20130620-1
ii  dpkg        1.16.10
ii  dpkg-dev    1.16.10
ii  file        1:5.14-2
it  man-db      2.6.5-2
ii  perl        5.14.2-21
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.62

-- no debconf information
diff --git a/debian/copyright b/debian/copyright
index 4ec9761..0e79f07 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -19,10 +19,6 @@ Files: dh_perl
 Copyright: Brendan O'Dea <[email protected]>
 License: GPL-2+
 
-Files: dh_python
-Copyright: Josselin Mouette <[email protected]>
-License: GPL-2+
-
 Files: dh_installcatalogs
 Copyright: Adam Di Carlo <[email protected]>
 License: GPL-2+
diff --git a/dh_python b/dh_python
deleted file mode 100755
index 722d813..0000000
--- a/dh_python
+++ /dev/null
@@ -1,292 +0,0 @@
-#!/usr/bin/perl -w
-
-=head1 NAME
-
-dh_python - calculates Python dependencies and adds postinst and prerm Python scripts (deprecated)
-
-=cut
-
-use strict;
-use File::Find;
-use Debian::Debhelper::Dh_Lib;
-
-=head1 SYNOPSIS
-
-B<dh_python> [S<I<debhelper options>>] [B<-n>] [B<-V> I<version>] [S<I<module dirs> ...>]
-
-=head1 DESCRIPTION
-
-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
-will also add a F<postinst> and a F<prerm> script if required.
-
-The program will look at Python scripts and modules in your package, and
-will use this information to generate a dependency on B<python>, with the
-current major version, or on B<python>I<X>B<.>I<Y> if your scripts or modules need a
-specific B<python> version. The dependency will be substituted into your
-package's F<control> file wherever you place the token B<${python:Depends}>.
-
-If some modules need to be byte-compiled at install time, appropriate
-F<postinst> and F<prerm> scripts will be generated. If already byte-compiled
-modules are found, they are removed.
-
-If you use this program, your package should build-depend on B<python>.
-
-=head1 OPTIONS
-
-=over 4
-
-=item I<module dirs>
-
-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>,
-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
-extra names on the command line are searched for binary (F<.so>) modules.
-
-=item B<-V> I<version>
-
-If the F<.py> files your package ships are meant to be used by a specific
-B<python>I<X>B<.>I<Y> version, you can use this option to specify the desired version,
-such as B<2.3>. Do not use if you ship modules in F</usr/lib/site-python>.
-
-=item B<-n>, B<--noscripts>
-
-Do not modify F<postinst>/F<prerm> scripts.
-
-=back
-
-=head1 CONFORMS TO
-
-Debian policy, version 3.5.7
-
-Python policy, version 0.3.7
-
-=cut
-
-init();
-
-if (-e "debian/pycompat") {
-	warning("Doing nothing since dh_pycompat exists; dh_pysupport or dh_pycentral should do the work. You can remove dh_python from your rules file.");
-	exit 0;
-}
-elsif (`grep Python-Version: debian/control`) {
-	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_python2 instead.");
-}
-
-my $python = 'python';
-
-# The current python major version
-my $python_major;
-my $python_version = `$python -V 2>&1`;
-if (! defined $python_version || $python_version eq "") {
-	error("Python is not installed, aborting. (Probably forgot to Build-Depend on python.)");
-}
-elsif ($python_version =~ m/^Python\s+(\d+)\.(\d+)(\.\d+)*/) {
-	$python_version = "$1.$2" ;
-	$python_major = $1 ;
-} else { 
-	error("Unable to parse python version out of \"$python_version\".");
-}
-
-# The next python version
-my $python_nextversion = $python_version + 0.1;
-my $python_nextmajor = $python_major + 1;
-
-my @python_allversions = ('1.5','2.1','2.2','2.3','2.4');
-foreach (@python_allversions) {
-	s/^/python/;
-}
-
-# Check for -V
-my $usepython = "python$python_version";
-if($dh{V_FLAG_SET}) {
-	$usepython = $dh{V_FLAG};
-	$usepython =~ s/^/python/;
-	if (! grep { $_ eq $usepython } @python_allversions) {
-		error("Unknown python version $dh{V_FLAG}");
-	}
-}
-
-# Cleaning the paths given on the command line
-foreach (@ARGV) {
-	s#/$##;
-	s#^/##;
-}
-
-# dependency types
-use constant PROGRAM   => 1;
-use constant PY_MODULE => 2;
-use constant PY_MODULE_NONSTANDARD => 4;
-use constant SO_MODULE => 8;
-use constant SO_MODULE_NONSTANDARD => 16;
-
-foreach my $package (@{$dh{DOPACKAGES}}) {
-	my $tmp = tmpdir($package);
-
-	my @dirs = ("usr/lib/site-python", "usr/lib/$package", "usr/share/$package", "usr/lib/games/$package", "usr/share/games/$package", @ARGV );
-	my @dirs_so = ("usr/lib/site-python", @ARGV );
-
-	my $dep_on_python = 0;
-	my $strong_dep = 0;
-	my $look_for_pythonXY = 1;
-
-	# First, the case of python-foo and pythonX.Y-foo
-	if ($package =~ /^python-/) {
-		$dep_on_python = 1;
-		$strong_dep = 1;
-		my $pack = $package;
-		$pack =~ s/^python/python$python_version/;
-		if (grep { "$_" eq "$pack" } getpackages()) {
-			addsubstvar($package, "python:Depends", $pack);
-		}
-	}
-	if ($package !~ /^python[0-9].[0-9]-/) {
-		push @dirs, "usr/lib/$usepython/site-packages";
-		push @dirs_so, "usr/lib/$usepython/site-packages";
-		$look_for_pythonXY = 0;
-	}
-
-	@dirs = grep -d, map "$tmp/$_", @dirs;
-	@dirs_so = grep -d, map "$tmp/$_", @dirs_so;
-
-	my $deps = 0;
-	my %verdeps = ();
-	foreach (@python_allversions) {
-		$verdeps{$_} = 0;
-	}
-
-	# Find scripts
-	find sub {
-		return unless -f and (-x or /\.py$/);
-		local *F;
-		return unless open F, $_;
-		if (read F, local $_, 32 and m%^#!\s*/usr/bin/(env\s+)?(python(\d+\.\d+)?)\s%) {
-			if ( "python" eq $2 ) {
-				$deps |= PROGRAM;
-			} elsif(defined $verdeps{$2}) {
-				$verdeps{$2} |= PROGRAM;
-			}
-		}
-		close F;
-	}, $tmp;
-
-	# Look for python modules
-	my $dirlist="";
-	if (@dirs) {
-		foreach my $curdir (@dirs) {
-			my $has_module = 0;
-			$curdir =~ s%^$tmp/%%;
-			find sub {
-				return unless -f;
-				if (/\.py$/) {
-					$has_module = 1;
-					doit(("rm","-f",$_."c",$_."o"));
-				}
-			}, "$tmp/$curdir" ;
-			if ($has_module) {
-				if ($dh{V_FLAG_SET}) {
-					$verdeps{$usepython} |= PY_MODULE_NONSTANDARD;
-				} else {
-					$deps |= PY_MODULE;
-				}
-				$dirlist="$dirlist /$curdir";
-			}
-		}
-	}
-	if (@dirs_so) {
-		foreach my $curdir (@dirs_so) {
-			my $has_module = 0;
-			$curdir =~ s%^$tmp/%%;
-			find sub {
-				return unless -f;
-				$has_module = 1 if /\.so$/;
-			}, "$tmp/$curdir" ;
-			if ($has_module) {
-				if ($dh{V_FLAG_SET}) {
-					$verdeps{$usepython} |= SO_MODULE_NONSTANDARD;
-				}
-				else {
-					$deps |= SO_MODULE;
-				}
-			}
-		}
-	}
-
-	# Dependencies on current python
-	$dep_on_python = 1 if $deps;
-	$strong_dep = 1 if($deps & (PY_MODULE|SO_MODULE));
-
-	if ($dep_on_python) {
-		addsubstvar($package, "python:Depends", $python, ">= $python_version");
-		if ($strong_dep) {
-			addsubstvar($package, "python:Depends", $python, "<< $python_nextversion");
-		} else {
-			addsubstvar($package, "python:Depends", $python, "<< $python_nextmajor");
-		}
-	}
-
-	my $need_prerm = 0;
-
-	# Look for specific pythonX.Y modules
-	foreach my $pyver (@python_allversions) {
-		my $pydir="/usr/lib/$pyver/site-packages";
-		if ($look_for_pythonXY) {
-			if (grep -d,"$tmp$pydir") {
-				find sub {
-					return unless -f;
-					if (/\.py$/) {
-						$verdeps{$pyver} |= PY_MODULE;
-						doit(("rm","-f",$_."c",$_."o"));
-					}
-					$verdeps{$pyver} |= SO_MODULE if /\.so$/;
-				}, "$tmp$pydir";
-			}
-		}
-	
-		# Go for the dependencies
-		addsubstvar($package, "python:Depends", $pyver) if $verdeps{$pyver};
-
-		# And now, the postinst and prerm stuff
-		if ($pyver eq "$usepython") {
-			if ($verdeps{$pyver} & PY_MODULE) {
-				$pydir = $pydir.$dirlist;
-			} else {
-				$pydir = $dirlist;
-			}
-			$verdeps{$pyver} |= PY_MODULE if($deps & PY_MODULE);
-		}
-		if ($verdeps{$pyver} & (PY_MODULE|PY_MODULE_NONSTANDARD) && ! $dh{NOSCRIPTS}) {
-			autoscript($package,"postinst","postinst-python","s%#PYVER#%$pyver%;s%#DIRLIST#%$pydir%");
-			$need_prerm = 1;
-		}
-	}
-	if ($need_prerm && ! $dh{NOSCRIPTS}) {
-		autoscript($package,"prerm","prerm-python","s%#PACKAGE#%$package%");
-	}
-}
-
-=head1 SEE ALSO
-
-L<debhelper(7)>
-
-This program is a part of debhelper.
-
-=head1 AUTHOR
-
-Josselin Mouette <[email protected]>
-
-most ideas stolen from Brendan O'Dea <[email protected]>
-
-=cut
diff --git a/doc/TODO b/doc/TODO
index cd2721f..822295f 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -15,7 +15,6 @@ Deprecated:
   docs or message yet.
 * dh_undocumented
 * dh_installinit --init-script (make it warn)
-* dh_python
 * dh_clean -k
 * dh_desktop, dh_scrollkeeper. Remove eventually..
 * -s flag, not formally deprecated yet; remove eventually
diff --git a/man/po4a/po/debhelper.pot b/man/po4a/po/debhelper.pot
index 18339aa..cf1a2d5 100644
--- a/man/po4a/po/debhelper.pot
+++ b/man/po4a/po/debhelper.pot
@@ -17,7 +17,7 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 
 #. type: =head1
-#: debhelper.pod:1 dh:3 dh_auto_build:3 dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3 dh_bugfiles:3 dh_builddeb:3 dh_clean:3 dh_compress:3 dh_desktop:3 dh_fixperms:3 dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3 dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3 dh_installdirs:3 dh_installdocs:3 dh_installemacsen:3 dh_installexamples:3 dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_python:3 dh_scrollkeeper:3 dh_shlibdeps:3 dh_strip:3 dh_suidregister:3 dh_testdir:3 dh_testroot:3 dh_undocumented:3 dh_usrlocal:3
+#: debhelper.pod:1 dh:3 dh_auto_build:3 dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3 dh_bugfiles:3 dh_builddeb:3 dh_clean:3 dh_compress:3 dh_desktop:3 dh_fixperms:3 dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3 dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3 dh_installdirs:3 dh_installdocs:3 dh_installemacsen:3 dh_installexamples:3 dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_scrollkeeper:3 dh_shlibdeps:3 dh_strip:3 dh_suidregister:3 dh_testdir:3 dh_testroot:3 dh_undocumented:3 dh_usrlocal:3
 msgid "NAME"
 msgstr ""
 
@@ -27,7 +27,7 @@ msgid "debhelper - the debhelper tool suite"
 msgstr ""
 
 #. type: =head1
-#: debhelper.pod:5 dh:12 dh_auto_build:12 dh_auto_clean:13 dh_auto_configure:12 dh_auto_install:15 dh_auto_test:13 dh_bugfiles:12 dh_builddeb:12 dh_clean:12 dh_compress:13 dh_desktop:12 dh_fixperms:12 dh_gconf:12 dh_gencontrol:12 dh_icons:13 dh_install:13 dh_installcatalogs:14 dh_installchangelogs:12 dh_installcron:12 dh_installdeb:12 dh_installdebconf:12 dh_installdirs:12 dh_installdocs:12 dh_installemacsen:12 dh_installexamples:12 dh_installifupdown:12 dh_installinfo:12 dh_installinit:13 dh_installlogcheck:12 dh_installlogrotate:12 dh_installman:13 dh_installmanpages:13 dh_installmenu:12 dh_installmime:12 dh_installmodules:13 dh_installpam:12 dh_installppp:12 dh_installudev:13 dh_installwm:12 dh_installxfonts:12 dh_link:13 dh_lintian:12 dh_listpackages:12 dh_makeshlibs:12 dh_md5sums:13 dh_movefiles:12 dh_perl:14 dh_prep:12 dh_python:13 dh_scrollkeeper:12 dh_shlibdeps:13 dh_strip:13 dh_suidregister:7 dh_testdir:12 dh_testroot:7 dh_undocumented:12 dh_usrlocal:15
+#: debhelper.pod:5 dh:12 dh_auto_build:12 dh_auto_clean:13 dh_auto_configure:12 dh_auto_install:15 dh_auto_test:13 dh_bugfiles:12 dh_builddeb:12 dh_clean:12 dh_compress:13 dh_desktop:12 dh_fixperms:12 dh_gconf:12 dh_gencontrol:12 dh_icons:13 dh_install:13 dh_installcatalogs:14 dh_installchangelogs:12 dh_installcron:12 dh_installdeb:12 dh_installdebconf:12 dh_installdirs:12 dh_installdocs:12 dh_installemacsen:12 dh_installexamples:12 dh_installifupdown:12 dh_installinfo:12 dh_installinit:13 dh_installlogcheck:12 dh_installlogrotate:12 dh_installman:13 dh_installmanpages:13 dh_installmenu:12 dh_installmime:12 dh_installmodules:13 dh_installpam:12 dh_installppp:12 dh_installudev:13 dh_installwm:12 dh_installxfonts:12 dh_link:13 dh_lintian:12 dh_listpackages:12 dh_makeshlibs:12 dh_md5sums:13 dh_movefiles:12 dh_perl:14 dh_prep:12 dh_scrollkeeper:12 dh_shlibdeps:13 dh_strip:13 dh_suidregister:7 dh_testdir:12 dh_testroot:7 dh_undocumented:12 dh_usrlocal:15
 msgid "SYNOPSIS"
 msgstr ""
 
@@ -39,7 +39,7 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: debhelper.pod:9 dh:16 dh_auto_build:16 dh_auto_clean:17 dh_auto_configure:16 dh_auto_install:19 dh_auto_test:17 dh_bugfiles:16 dh_builddeb:16 dh_clean:16 dh_compress:17 dh_desktop:16 dh_fixperms:16 dh_gconf:16 dh_gencontrol:16 dh_icons:17 dh_install:17 dh_installcatalogs:18 dh_installchangelogs:16 dh_installcron:16 dh_installdeb:16 dh_installdebconf:16 dh_installdirs:16 dh_installdocs:16 dh_installemacsen:16 dh_installexamples:16 dh_installifupdown:16 dh_installinfo:16 dh_installinit:17 dh_installlogcheck:16 dh_installlogrotate:16 dh_installman:17 dh_installmanpages:17 dh_installmenu:16 dh_installmime:16 dh_installmodules:17 dh_installpam:16 dh_installppp:16 dh_installudev:17 dh_installwm:16 dh_installxfonts:16 dh_link:17 dh_lintian:16 dh_listpackages:16 dh_makeshlibs:16 dh_md5sums:17 dh_movefiles:16 dh_perl:18 dh_prep:16 dh_python:17 dh_scrollkeeper:16 dh_shlibdeps:17 dh_strip:17 dh_suidregister:11 dh_testdir:16 dh_testroot:11 dh_undocumented:16 dh_usrlocal:19
+#: debhelper.pod:9 dh:16 dh_auto_build:16 dh_auto_clean:17 dh_auto_configure:16 dh_auto_install:19 dh_auto_test:17 dh_bugfiles:16 dh_builddeb:16 dh_clean:16 dh_compress:17 dh_desktop:16 dh_fixperms:16 dh_gconf:16 dh_gencontrol:16 dh_icons:17 dh_install:17 dh_installcatalogs:18 dh_installchangelogs:16 dh_installcron:16 dh_installdeb:16 dh_installdebconf:16 dh_installdirs:16 dh_installdocs:16 dh_installemacsen:16 dh_installexamples:16 dh_installifupdown:16 dh_installinfo:16 dh_installinit:17 dh_installlogcheck:16 dh_installlogrotate:16 dh_installman:17 dh_installmanpages:17 dh_installmenu:16 dh_installmime:16 dh_installmodules:17 dh_installpam:16 dh_installppp:16 dh_installudev:17 dh_installwm:16 dh_installxfonts:16 dh_link:17 dh_lintian:16 dh_listpackages:16 dh_makeshlibs:16 dh_md5sums:17 dh_movefiles:16 dh_perl:18 dh_prep:16 dh_scrollkeeper:16 dh_shlibdeps:17 dh_strip:17 dh_suidregister:11 dh_testdir:16 dh_testroot:11 dh_undocumented:16 dh_usrlocal:19
 msgid "DESCRIPTION"
 msgstr ""
 
@@ -1185,7 +1185,7 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: debhelper.pod:678 dh:969 dh_auto_build:47 dh_auto_clean:50 dh_auto_configure:52 dh_auto_install:92 dh_auto_test:63 dh_bugfiles:124 dh_builddeb:124 dh_clean:142 dh_compress:208 dh_desktop:31 dh_fixperms:127 dh_gconf:101 dh_gencontrol:82 dh_icons:71 dh_install:260 dh_installcatalogs:122 dh_installchangelogs:239 dh_installcron:79 dh_installdeb:140 dh_installdebconf:128 dh_installdirs:88 dh_installdocs:333 dh_installemacsen:126 dh_installexamples:108 dh_installifupdown:71 dh_installinfo:77 dh_installinit:321 dh_installlogcheck:80 dh_installlogrotate:52 dh_installman:263 dh_installmanpages:197 dh_installmenu:89 dh_installmime:63 dh_installmodules:115 dh_installpam:61 dh_installppp:67 dh_installudev:117 dh_installwm:110 dh_installxfonts:89 dh_link:228 dh_lintian:59 dh_listpackages:30 dh_makeshlibs:258 dh_md5sums:90 dh_movefiles:170 dh_perl:148 dh_prep:60 dh_python:280 dh_scrollkeeper:28 dh_shlibdeps:175 dh_strip:242 dh_suidregister:117 dh_testdir:53 dh_testroot:27 dh_undocument
 ed:28 dh
 _usrlocal:116
+#: debhelper.pod:678 dh:969 dh_auto_build:47 dh_auto_clean:50 dh_auto_configure:52 dh_auto_install:92 dh_auto_test:63 dh_bugfiles:124 dh_builddeb:124 dh_clean:142 dh_compress:208 dh_desktop:31 dh_fixperms:127 dh_gconf:101 dh_gencontrol:82 dh_icons:71 dh_install:260 dh_installcatalogs:122 dh_installchangelogs:239 dh_installcron:79 dh_installdeb:140 dh_installdebconf:128 dh_installdirs:88 dh_installdocs:333 dh_installemacsen:126 dh_installexamples:108 dh_installifupdown:71 dh_installinfo:77 dh_installinit:321 dh_installlogcheck:80 dh_installlogrotate:52 dh_installman:263 dh_installmanpages:197 dh_installmenu:89 dh_installmime:63 dh_installmodules:115 dh_installpam:61 dh_installppp:67 dh_installudev:117 dh_installwm:110 dh_installxfonts:89 dh_link:228 dh_lintian:59 dh_listpackages:30 dh_makeshlibs:258 dh_md5sums:90 dh_movefiles:170 dh_perl:148 dh_prep:60 dh_scrollkeeper:28 dh_shlibdeps:175 dh_strip:242 dh_suidregister:117 dh_testdir:53 dh_testroot:27 dh_undocumented:28 dh_usrlo
 cal:116
 msgid "SEE ALSO"
 msgstr ""
 
@@ -1210,7 +1210,7 @@ msgid "Debhelper web site."
 msgstr ""
 
 #. type: =head1
-#: debhelper.pod:692 dh:975 dh_auto_build:53 dh_auto_clean:56 dh_auto_configure:58 dh_auto_install:98 dh_auto_test:69 dh_bugfiles:132 dh_builddeb:130 dh_clean:148 dh_compress:214 dh_desktop:37 dh_fixperms:133 dh_gconf:107 dh_gencontrol:88 dh_icons:77 dh_install:266 dh_installcatalogs:128 dh_installchangelogs:245 dh_installcron:85 dh_installdeb:146 dh_installdebconf:134 dh_installdirs:94 dh_installdocs:339 dh_installemacsen:132 dh_installexamples:114 dh_installifupdown:77 dh_installinfo:83 dh_installlogcheck:86 dh_installlogrotate:58 dh_installman:269 dh_installmanpages:203 dh_installmenu:97 dh_installmime:69 dh_installmodules:121 dh_installpam:67 dh_installppp:73 dh_installudev:123 dh_installwm:116 dh_installxfonts:95 dh_link:234 dh_lintian:67 dh_listpackages:36 dh_makeshlibs:264 dh_md5sums:96 dh_movefiles:176 dh_perl:154 dh_prep:66 dh_python:286 dh_scrollkeeper:34 dh_shlibdeps:181 dh_strip:248 dh_suidregister:123 dh_testdir:59 dh_testroot:33 dh_undocumented:34 dh_usrlocal:1
 22
+#: debhelper.pod:692 dh:975 dh_auto_build:53 dh_auto_clean:56 dh_auto_configure:58 dh_auto_install:98 dh_auto_test:69 dh_bugfiles:132 dh_builddeb:130 dh_clean:148 dh_compress:214 dh_desktop:37 dh_fixperms:133 dh_gconf:107 dh_gencontrol:88 dh_icons:77 dh_install:266 dh_installcatalogs:128 dh_installchangelogs:245 dh_installcron:85 dh_installdeb:146 dh_installdebconf:134 dh_installdirs:94 dh_installdocs:339 dh_installemacsen:132 dh_installexamples:114 dh_installifupdown:77 dh_installinfo:83 dh_installlogcheck:86 dh_installlogrotate:58 dh_installman:269 dh_installmanpages:203 dh_installmenu:97 dh_installmime:69 dh_installmodules:121 dh_installpam:67 dh_installppp:73 dh_installudev:123 dh_installwm:116 dh_installxfonts:95 dh_link:234 dh_lintian:67 dh_listpackages:36 dh_makeshlibs:264 dh_md5sums:96 dh_movefiles:176 dh_perl:154 dh_prep:66 dh_scrollkeeper:34 dh_shlibdeps:181 dh_strip:248 dh_suidregister:123 dh_testdir:59 dh_testroot:33 dh_undocumented:34 dh_usrlocal:122
 msgid "AUTHOR"
 msgstr ""
 
@@ -1273,7 +1273,7 @@ msgid ""
 msgstr ""
 
 #. type: =head1
-#: dh:41 dh_auto_build:28 dh_auto_clean:30 dh_auto_configure:31 dh_auto_install:43 dh_auto_test:31 dh_bugfiles:50 dh_builddeb:24 dh_clean:41 dh_compress:48 dh_fixperms:31 dh_gconf:39 dh_gencontrol:26 dh_icons:30 dh_install:59 dh_installcatalogs:49 dh_installchangelogs:59 dh_installcron:40 dh_installdebconf:61 dh_installdirs:31 dh_installdocs:71 dh_installemacsen:48 dh_installexamples:32 dh_installifupdown:39 dh_installinfo:31 dh_installinit:59 dh_installlogcheck:42 dh_installlogrotate:22 dh_installman:61 dh_installmanpages:40 dh_installmenu:41 dh_installmodules:38 dh_installpam:31 dh_installppp:35 dh_installudev:35 dh_installwm:34 dh_link:53 dh_makeshlibs:43 dh_md5sums:28 dh_movefiles:38 dh_perl:31 dh_prep:26 dh_python:39 dh_shlibdeps:26 dh_strip:35 dh_testdir:23 dh_usrlocal:39
+#: dh:41 dh_auto_build:28 dh_auto_clean:30 dh_auto_configure:31 dh_auto_install:43 dh_auto_test:31 dh_bugfiles:50 dh_builddeb:24 dh_clean:41 dh_compress:48 dh_fixperms:31 dh_gconf:39 dh_gencontrol:26 dh_icons:30 dh_install:59 dh_installcatalogs:49 dh_installchangelogs:59 dh_installcron:40 dh_installdebconf:61 dh_installdirs:31 dh_installdocs:71 dh_installemacsen:48 dh_installexamples:32 dh_installifupdown:39 dh_installinfo:31 dh_installinit:59 dh_installlogcheck:42 dh_installlogrotate:22 dh_installman:61 dh_installmanpages:40 dh_installmenu:41 dh_installmodules:38 dh_installpam:31 dh_installppp:35 dh_installudev:35 dh_installwm:34 dh_link:53 dh_makeshlibs:43 dh_md5sums:28 dh_movefiles:38 dh_perl:31 dh_prep:26 dh_shlibdeps:26 dh_strip:35 dh_testdir:23 dh_usrlocal:39
 msgid "OPTIONS"
 msgstr ""
 
@@ -1739,12 +1739,12 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: dh:971 dh_auto_build:49 dh_auto_clean:52 dh_auto_configure:54 dh_auto_install:94 dh_auto_test:65 dh_builddeb:126 dh_clean:144 dh_compress:210 dh_fixperms:129 dh_gconf:103 dh_gencontrol:84 dh_install:262 dh_installcatalogs:124 dh_installchangelogs:241 dh_installcron:81 dh_installdeb:142 dh_installdebconf:130 dh_installdirs:90 dh_installdocs:335 dh_installemacsen:128 dh_installexamples:110 dh_installifupdown:73 dh_installinfo:79 dh_installinit:323 dh_installlogcheck:82 dh_installlogrotate:54 dh_installman:265 dh_installmanpages:199 dh_installmime:65 dh_installmodules:117 dh_installpam:63 dh_installppp:69 dh_installudev:119 dh_installwm:112 dh_installxfonts:91 dh_link:230 dh_listpackages:32 dh_makeshlibs:260 dh_md5sums:92 dh_movefiles:172 dh_perl:150 dh_prep:62 dh_python:282 dh_strip:244 dh_suidregister:119 dh_testdir:55 dh_testroot:29 dh_undocumented:30 dh_usrlocal:118
+#: dh:971 dh_auto_build:49 dh_auto_clean:52 dh_auto_configure:54 dh_auto_install:94 dh_auto_test:65 dh_builddeb:126 dh_clean:144 dh_compress:210 dh_fixperms:129 dh_gconf:103 dh_gencontrol:84 dh_install:262 dh_installcatalogs:124 dh_installchangelogs:241 dh_installcron:81 dh_installdeb:142 dh_installdebconf:130 dh_installdirs:90 dh_installdocs:335 dh_installemacsen:128 dh_installexamples:110 dh_installifupdown:73 dh_installinfo:79 dh_installinit:323 dh_installlogcheck:82 dh_installlogrotate:54 dh_installman:265 dh_installmanpages:199 dh_installmime:65 dh_installmodules:117 dh_installpam:63 dh_installppp:69 dh_installudev:119 dh_installwm:112 dh_installxfonts:91 dh_link:230 dh_listpackages:32 dh_makeshlibs:260 dh_md5sums:92 dh_movefiles:172 dh_perl:150 dh_prep:62 dh_strip:244 dh_suidregister:119 dh_testdir:55 dh_testroot:29 dh_undocumented:30 dh_usrlocal:118
 msgid "L<debhelper(7)>"
 msgstr ""
 
 #. type: textblock
-#: dh:973 dh_auto_build:51 dh_auto_clean:54 dh_auto_configure:56 dh_auto_install:96 dh_auto_test:67 dh_bugfiles:130 dh_builddeb:128 dh_clean:146 dh_compress:212 dh_desktop:35 dh_fixperms:131 dh_gconf:105 dh_gencontrol:86 dh_icons:75 dh_install:264 dh_installchangelogs:243 dh_installcron:83 dh_installdeb:144 dh_installdebconf:132 dh_installdirs:92 dh_installdocs:337 dh_installemacsen:130 dh_installexamples:112 dh_installifupdown:75 dh_installinfo:81 dh_installinit:325 dh_installlogrotate:56 dh_installman:267 dh_installmanpages:201 dh_installmenu:95 dh_installmime:67 dh_installmodules:119 dh_installpam:65 dh_installppp:71 dh_installudev:121 dh_installwm:114 dh_installxfonts:93 dh_link:232 dh_lintian:63 dh_listpackages:34 dh_makeshlibs:262 dh_md5sums:94 dh_movefiles:174 dh_perl:152 dh_prep:64 dh_python:284 dh_scrollkeeper:32 dh_shlibdeps:179 dh_strip:246 dh_suidregister:121 dh_testdir:57 dh_testroot:31 dh_undocumented:32 dh_usrlocal:120
+#: dh:973 dh_auto_build:51 dh_auto_clean:54 dh_auto_configure:56 dh_auto_install:96 dh_auto_test:67 dh_bugfiles:130 dh_builddeb:128 dh_clean:146 dh_compress:212 dh_desktop:35 dh_fixperms:131 dh_gconf:105 dh_gencontrol:86 dh_icons:75 dh_install:264 dh_installchangelogs:243 dh_installcron:83 dh_installdeb:144 dh_installdebconf:132 dh_installdirs:92 dh_installdocs:337 dh_installemacsen:130 dh_installexamples:112 dh_installifupdown:75 dh_installinfo:81 dh_installinit:325 dh_installlogrotate:56 dh_installman:267 dh_installmanpages:201 dh_installmenu:95 dh_installmime:67 dh_installmodules:119 dh_installpam:65 dh_installppp:71 dh_installudev:121 dh_installwm:114 dh_installxfonts:93 dh_link:232 dh_lintian:63 dh_listpackages:34 dh_makeshlibs:262 dh_md5sums:94 dh_movefiles:174 dh_perl:152 dh_prep:64 dh_scrollkeeper:32 dh_shlibdeps:179 dh_strip:246 dh_suidregister:121 dh_testdir:57 dh_testroot:31 dh_undocumented:32 dh_usrlocal:120
 msgid "This program is a part of debhelper."
 msgstr ""
 
@@ -2335,7 +2335,7 @@ msgid "Add these files to the list of files to compress."
 msgstr ""
 
 #. type: =head1
-#: dh_compress:70 dh_perl:61 dh_python:66 dh_strip:74 dh_usrlocal:55
+#: dh_compress:70 dh_perl:61 dh_strip:74 dh_usrlocal:55
 msgid "CONFORMS TO"
 msgstr ""
 
@@ -2562,7 +2562,7 @@ msgid ""
 msgstr ""
 
 #. type: =item
-#: dh_icons:34 dh_installcatalogs:53 dh_installdebconf:65 dh_installemacsen:52 dh_installinit:63 dh_installmenu:45 dh_installmodules:42 dh_installudev:49 dh_installwm:44 dh_makeshlibs:77 dh_python:60 dh_usrlocal:43
+#: dh_icons:34 dh_installcatalogs:53 dh_installdebconf:65 dh_installemacsen:52 dh_installinit:63 dh_installmenu:45 dh_installmodules:42 dh_installudev:49 dh_installwm:44 dh_makeshlibs:77 dh_usrlocal:43
 msgid "B<-n>, B<--noscripts>"
 msgstr ""
 
@@ -3528,7 +3528,7 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: dh_installemacsen:54 dh_python:62 dh_usrlocal:45
+#: dh_installemacsen:54 dh_usrlocal:45
 msgid "Do not modify F<postinst>/F<prerm> scripts."
 msgstr ""
 
@@ -5262,117 +5262,6 @@ msgid ""
 msgstr ""
 
 #. type: textblock
-#: dh_python:5
-msgid ""
-"dh_python - calculates Python dependencies and adds postinst and prerm "
-"Python scripts (deprecated)"
-msgstr ""
-
-#. type: textblock
-#: dh_python:15
-msgid ""
-"B<dh_python> [S<I<debhelper options>>] [B<-n>] [B<-V> I<version>] "
-"[S<I<module dirs> ...>]"
-msgstr ""
-
-#. type: textblock
-#: dh_python:19
-msgid ""
-"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."
-msgstr ""
-
-#. type: textblock
-#: dh_python:23
-msgid ""
-"B<dh_python> is a debhelper program that is responsible for generating the "
-"B<${python:Depends}> substitutions and adding them to substvars files. It "
-"will also add a F<postinst> and a F<prerm> script if required."
-msgstr ""
-
-#. type: textblock
-#: dh_python:27
-msgid ""
-"The program will look at Python scripts and modules in your package, and "
-"will use this information to generate a dependency on B<python>, with the "
-"current major version, or on B<python>I<X>B<.>I<Y> if your scripts or "
-"modules need a specific B<python> version. The dependency will be "
-"substituted into your package's F<control> file wherever you place the token "
-"B<${python:Depends}>."
-msgstr ""
-
-#. type: textblock
-#: dh_python:33
-msgid ""
-"If some modules need to be byte-compiled at install time, appropriate "
-"F<postinst> and F<prerm> scripts will be generated. If already byte-compiled "
-"modules are found, they are removed."
-msgstr ""
-
-#. type: textblock
-#: dh_python:37
-msgid "If you use this program, your package should build-depend on B<python>."
-msgstr ""
-
-#. type: =item
-#: dh_python:43
-msgid "I<module dirs>"
-msgstr ""
-
-#. type: textblock
-#: dh_python:45
-msgid ""
-"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>, "
-"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>."
-msgstr ""
-
-#. type: textblock
-#: dh_python:51
-msgid ""
-"Note: only F</usr/lib/site-python>, F</usr/lib/python?.?/site-packages> and "
-"the extra names on the command line are searched for binary (F<.so>) "
-"modules."
-msgstr ""
-
-#. type: =item
-#: dh_python:54
-msgid "B<-V> I<version>"
-msgstr ""
-
-#. type: textblock
-#: dh_python:56
-msgid ""
-"If the F<.py> files your package ships are meant to be used by a specific "
-"B<python>I<X>B<.>I<Y> version, you can use this option to specify the "
-"desired version, such as B<2.3>. Do not use if you ship modules in "
-"F</usr/lib/site-python>."
-msgstr ""
-
-#. type: textblock
-#: dh_python:68
-msgid "Debian policy, version 3.5.7"
-msgstr ""
-
-#. type: textblock
-#: dh_python:70
-msgid "Python policy, version 0.3.7"
-msgstr ""
-
-#. type: textblock
-#: dh_python:288
-msgid "Josselin Mouette <[email protected]>"
-msgstr ""
-
-#. type: textblock
-#: dh_python:290
-msgid "most ideas stolen from Brendan O'Dea <[email protected]>"
-msgstr ""
-
-#. type: textblock
 #: dh_scrollkeeper:5
 msgid "dh_scrollkeeper - deprecated no-op"
 msgstr ""
diff --git a/man/po4a/po4a.cfg b/man/po4a/po4a.cfg
index a6b82c4..8c2ac2d 100644
--- a/man/po4a/po4a.cfg
+++ b/man/po4a/po4a.cfg
@@ -52,7 +52,6 @@
 [type: pod] dh_movefiles	$lang:man/$lang/dh_movefiles.pod	add_fr:man/po4a/add.fr	add_es:man/po4a/add2.es  add_de:man/po4a/add.de
 [type: pod] dh_perl		$lang:man/$lang/dh_perl.pod		add_fr:man/po4a/add.fr	add_es:man/po4a/add2.es  add_de:man/po4a/add.de
 [type: pod] dh_prep		$lang:man/$lang/dh_prep.pod		add_fr:man/po4a/add.fr	add_es:man/po4a/add2.es  add_de:man/po4a/add.de
-[type: pod] dh_python		$lang:man/$lang/dh_python.pod		add_fr:man/po4a/add.fr	add_es:man/po4a/add2.es  add_de:man/po4a/add.de
 [type: pod] dh_scrollkeeper	$lang:man/$lang/dh_scrollkeeper.pod	add_fr:man/po4a/add.fr	add_es:man/po4a/add2.es  add_de:man/po4a/add.de
 [type: pod] dh_shlibdeps	$lang:man/$lang/dh_shlibdeps.pod	add_fr:man/po4a/add.fr	add_es:man/po4a/add2.es  add_de:man/po4a/add.de
 [type: pod] dh_strip		$lang:man/$lang/dh_strip.pod		add_fr:man/po4a/add.fr	add_es:man/po4a/add2.es  add_de:man/po4a/add.de
diff --git a/t/size b/t/size
index fb91554..d8b9896 100755
--- a/t/size
+++ b/t/size
@@ -5,8 +5,7 @@
 # bug.
 use Test::More;
 
-# exclude dh_python since it's deprecated
-my @progs=grep { -x $_ && !/dh_python/ } glob("dh_*");
+my @progs=grep { -x $_ } glob("dh_*");
 
 plan(tests => (@progs + @progs));
 

--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 9.20130720

We believe that the bug you reported is fixed in the latest version of
debhelper, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[email protected]> (supplier of updated debhelper package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 20 Aug 2013 12:46:25 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 9.20130720
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description: 
 debhelper  - helper programs for debian/rules
Closes: 717374 718121 719216 719359 719598
Changes: 
 debhelper (9.20130720) unstable; urgency=low
 .
   * dh_python: Removed this deprecated and unused command.
     Closes: #717374
     (Thanks, Luca Falavigna)
   * Type fixes. Closes: #719216
   * dh_installinit: Fix a longstanding accidental behavior that caused
     a file named debian/package to be installed as the init script.
     Only fixed in v10 since packages might depend on this behavior.
     Closes: #719359
   * dh_install, dh_installdocs, dh_clean: Fix uses of find -exec
     which cause it to ignore exit status of the commands run.
     Closes: 719598
   * makefile buildsystem: Tighten heuristic to detect if makefile target
     exists. An error message that some other target does not exist just means
     the makefile spaghetti has problems later on when run with -n,
     but not that the called target didn't exist. Closes: #718121
Checksums-Sha1: 
 1607172456bf56081322bb9c12a03565dc1ef47c 1577 debhelper_9.20130720.dsc
 a5795c4b082393321c6080f49ba3d56937642e37 471494 debhelper_9.20130720.tar.gz
 330980fc236ef427a332f52d2868ee589cdd817d 671024 debhelper_9.20130720_all.deb
Checksums-Sha256: 
 55d8d0aa0f65828889027399f54806f7745f2d25680a9aaa02d43413a7154b51 1577 
debhelper_9.20130720.dsc
 4128575e19c2a6dbe8bfe2af591976b6bc737bb9b5d89e91492c6d72c487b01f 471494 
debhelper_9.20130720.tar.gz
 71227c16a237f5caa373eda4b8c7db0e05ae4690f93485e351d7a6dc2e8cd7e0 671024 
debhelper_9.20130720_all.deb
Files: 
 4c018870f1dec8d5a696599f726b7f9b 1577 devel optional debhelper_9.20130720.dsc
 7ca139c0b53d604c41e423fea4fecda4 471494 devel optional 
debhelper_9.20130720.tar.gz
 57e0387825043f4ae238f66c0c54dce0 671024 devel optional 
debhelper_9.20130720_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIVAwUBUhOgeckQ2SIlEuPHAQhGGw/+NDZs0vA4Bno471MPMbqCIW9JvLJu7tWj
P8t9m5Sa94R5QHNvyApwla8KCodS3gkmExSWerU6JF2k+eU6DOpXY13yMvsfEPNj
9VIce8g7J1ptJuLfsocAh+SubhxGJ6q+ACWbXlmufb8rNlWKX50LkJWSHD5HwMgh
Ft4fNAgaE4ny9WOvLAUABYrjkAJ9GQBPFvrKwRJDgBKnokfE0dG82RQrfva07o2E
SDO4fK79m7c3UDPsX9OxUi4UgfH5w0sqQegt9WfVlFTthp5JzLxZ2celPd6myO/c
IdRqD3QX8V+qoz5DRYbMvL+il7hXIcJhvHcSWKweTSKGYtOqXWChSRoR7cZNX4Ma
hgoj8jOv/jcFhF6iWRUue+qztGvpg5gl2hUoN8gX5afA02QKa2N2/qukzAURF5Vx
b1fcNex+Y+g/Nxt9ZDAT1AySAmAR53hnDs83qGmMvxm/Hddrz4NdThZEjYlfC0Fr
0cuT0daKTh3imnnwUBeUZbfOTdh79clsDdIhmsICY6CeB7SXwvu0f6XujEK25DtE
2qKER6pNd0fI8eSqgyAsNuOu4XnZVGoAUzJZFRXsNNqRPtio66DqFXDyaRTa3m+O
OtGib+MYyetTT70dUTr6hBlbc+jEOwZuGWHVYVHBRFf+KpIQG05QEcLqBwOU5xAy
PxrtMJnd8Uo=
=nXMY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to