]> git.donarmstrong.com Git - debhelper.git/commitdiff
r586: * dh_python: allow for a + at the end of the python version, as in the
authorjoey <joey>
Tue, 20 May 2003 21:53:57 +0000 (21:53 +0000)
committerjoey <joey>
Tue, 20 May 2003 21:53:57 +0000 (21:53 +0000)
     python in stable, version 2.1.3+.

debian/changelog
debian/control
dh_python

index 004586a1a8c19787502188c63692190143945bb4..73af2bdf4c35227a730c6a6b567789fc1440c863 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (4.1.44) unstable; urgency=low
+
+  * dh_python: allow for a + at the end of the python version, as in the
+    python in stable, version 2.1.3+.
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 20 May 2003 17:50:16 -0400
+
 debhelper (4.1.43) unstable; urgency=low
 
   * dh_python: Honour -n flag. Closes: #192804
index 4b4f780c8d741b2d062696a517e711211f439a51..59ea2bd5c936980f1d8b2111ff516c3b878afb91 100644 (file)
@@ -3,7 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Joey Hess <joeyh@debian.org>
 Build-Depends-Indep: perl (>= 5.6.1), coreutils | fileutils (>= 4.0-2.1), file (>= 3.23-1), dpkg-dev (>= 1.9.0)
-Standards-Version: 3.5.9.0
+Standards-Version: 3.5.10.0
 
 Package: debhelper
 Architecture: all
index 1ed4471427b6d1f22ba2d49a6b8f7140b1d2fce9..3a001bd419153b88454ecca2939398ecded8c1a7 100755 (executable)
--- a/dh_python
+++ b/dh_python
@@ -67,7 +67,7 @@ my $python_version = `$python -V 2>&1`;
 if ("$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+\n$/) {
+elsif ($python_version =~ m/^Python\s+(\d+)\.(\d+)\.\d+\+?\n$/) {
        $python_version = "$1.$2" ;
        $python_major = $1 ;
 } else {