]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1580: * dh_python: support python ver 2.3. Closes: #204556 version_4.1.60
authorjoey <joey>
Fri, 8 Aug 2003 16:00:12 +0000 (16:00 +0000)
committerjoey <joey>
Fri, 8 Aug 2003 16:00:12 +0000 (16:00 +0000)
debian/changelog
dh_python

index f4748dd0bbeae43af4fe8ace6a5e6164e1f16bfd..2898f71b2f60a1b25bfdbeccda2c67410e1b603f 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (4.1.60) unstable; urgency=low
+
+  * dh_python: support python ver 2.3. Closes: #204556
+
+ -- Joey Hess <joeyh@debian.org>  Fri,  8 Aug 2003 11:59:34 -0400
+
 debhelper (4.1.59) unstable; urgency=low
 
   * dh_installman: support .TH lines with quotes. Closes: #204527
index 81da6da5e6e215a35ee28e555cc1bd85c2b86653..9bbffa4c3c127fc38fc415b360b2ec886b442f4f 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+/) {
+elsif ($python_version =~ m/^Python\s+(\d+)\.(\d+)(\.\d+)*/) {
        $python_version = "$1.$2" ;
        $python_major = $1 ;
 } else {