[projects/cleanbuild] more distutils findbr

glen glen at pld-linux.org
Fri May 1 00:14:06 CEST 2015


commit 0587f322c92028a2e04031246ba078583cfe06c9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri May 1 01:13:35 2015 +0300

    more distutils findbr

 findbr | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/findbr b/findbr
index b0b7b7f..f24b282 100755
--- a/findbr
+++ b/findbr
@@ -244,9 +244,11 @@ while ( $_ = shift @lines ) {
 		warn "Looking for C(++) header $h\n";
 		poldek_file( "/usr/include*/$h" );
 	}
-	if ( m{^ImportError: No module named (\S+)$} or
-		m{^ERROR: Cannot find .+: No module named (\S+)$} or
-		m{^ERROR: Failed to import the ".+" module: No module named (\S+)$}
+
+	if (m{^ImportError: No module named (\S+)$}
+		or m{^ERROR: Cannot find .+: No module named (\S+)$}
+		or m{^ERROR: Failed to import the ".+" module: No module named (\S+)$}
+		or m{^distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse\('([^'>=]+).*'\)}
 		) {
 		my $mod = $1;
 		$mod =~ s#\.#/#g;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/e5fe7767d25ce4a306f5c9b66d46b8d293196bc9



More information about the pld-cvs-commit mailing list