1 |
Author: zmedico |
2 |
Date: 2008-06-21 10:53:58 +0000 (Sat, 21 Jun 2008) |
3 |
New Revision: 10752 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/__init__.py |
7 |
Log: |
8 |
Exclude calls to autoheader and makeinfo from the automake "maintainer mode" |
9 |
check (filter some false positives). Thanks to Flameeyes. |
10 |
|
11 |
|
12 |
Modified: main/trunk/pym/portage/__init__.py |
13 |
=================================================================== |
14 |
--- main/trunk/pym/portage/__init__.py 2008-06-21 09:26:53 UTC (rev 10751) |
15 |
+++ main/trunk/pym/portage/__init__.py 2008-06-21 10:53:58 UTC (rev 10752) |
16 |
@@ -4197,9 +4197,12 @@ |
17 |
configure_opts_warn_re = re.compile( |
18 |
r'^configure: WARNING: Unrecognized options: .*') |
19 |
am_maintainer_mode_re = re.compile(r'.*/missing --run .*') |
20 |
+ am_maintainer_mode_exclude_re = \ |
21 |
+ re.compile(r'.*/missing --run (autoheader|makeinfo)') |
22 |
try: |
23 |
for line in f: |
24 |
- if am_maintainer_mode_re.search(line) is not None: |
25 |
+ if am_maintainer_mode_re.search(line) is not None and \ |
26 |
+ am_maintainer_mode_exclude_re.search(line) is None: |
27 |
am_maintainer_mode.append(line.rstrip("\n")) |
28 |
if configure_opts_warn_re.match(line) is not None: |
29 |
configure_opts_warn.append(line.rstrip("\n")) |
30 |
|
31 |
-- |
32 |
gentoo-commits@l.g.o mailing list |