]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
more distutils findbr
authorElan Ruusamäe <glen@delfi.ee>
Thu, 30 Apr 2015 22:13:35 +0000 (01:13 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 30 Apr 2015 22:13:35 +0000 (01:13 +0300)
findbr

diff --git a/findbr b/findbr
index b0b7b7fc346d28be5e3ef7728cdc48ae60651adb..f24b282c3afc1e8e833f277f72e327f7d8b4f5e1 100755 (executable)
--- 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;
This page took 0.121579 seconds and 4 git commands to generate.