]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1760: releasing version 4.2.37 4.2.37
authorjoey <joey>
Thu, 9 Jun 2005 14:05:24 +0000 (14:05 +0000)
committerjoey <joey>
Thu, 9 Jun 2005 14:05:24 +0000 (14:05 +0000)
debian/changelog
dh_python
doc/PROGRAMMING

index ca8078e31faf63c2c78b227960c6f74baa3ae0e3..42a80213abb6a1c7c124b0fe0f2110590938f7b5 100644 (file)
@@ -1,3 +1,12 @@
+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).
index a2dde7b92036bab3981e9359b83e93eaf1df9a8c..3bd2ac7aff427fed19a25257b99076c98fdac591 100755 (executable)
--- a/dh_python
+++ b/dh_python
@@ -96,6 +96,7 @@ foreach (@python_allversions) {
 # 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) {
index 8151c3ef065c15096f1c71e5a9b64db50e66233e..4b19db5eb60c43a132f7c735a1ee4fd84b04c02b 100644 (file)
@@ -243,5 +243,12 @@ is_udeb($package)
        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>