+debhelper (4.2.37) unstable; urgency=low
+
+ * Document getpackages in PROGRAMMING.
+ * Patch from Jeff Bailey to make dh_python set $python_version if -V is
+ specified so it looks in the right site-packages directories.
+ Closes: #312661
+
+ -- Joey Hess <joeyh@debian.org> Thu, 9 Jun 2005 10:01:20 -0400
+
debhelper (4.2.36) unstable; urgency=low
* Spanish translation update for dh_installdebconf(1).
# Check for -V
my $usepython = "python$python_version";
if($dh{V_FLAG_SET}) {
+ $python_version = $dh{V_FLAG};
$usepython = $dh{V_FLAG};
$usepython =~ s/^/python/;
if (! grep { $_ eq $usepython } @python_allversions) {
file.
udeb_filename($package)
Returns the filename of the udeb package.
+getpackages($type)
+ Returns a list of packages in the control file.
+ Must pass "arch" or "indep" or "same" to specify arch-dependant or
+ -independant or same arch packages. If nothing is specified, returns all
+ packages.
+ As a side effect, populates %package_arches and %package_types with
+ the types of all packages (not only those returned).
-- Joey Hess <joeyh@debian.org>