From: Zac Medico Date: Sun, 8 Jun 2008 03:15:06 +0000 (-0000) Subject: Add additional functions such as eaclocal and eautoheader to the X-Git-Tag: v2.2_pre8~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=24dd9bc7252b7e17568df031549371ea5257c4ed;p=portage.git Add additional functions such as eaclocal and eautoheader to the inherit.autotools regex. Thanks to Arfrever. svn path=/main/trunk/; revision=10602 --- diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index 3c202cad8..e340a57f3 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -219,7 +219,11 @@ _constant_checks = tuple((c() for c in ( _iuse_def_re = re.compile(r'^IUSE=.*') _comment_re = re.compile(r'(^|\s*)#') -_autotools_func_re = re.compile(r'(^|\s)(eautomake|eautoconf|eautoreconf)(\s|$)') +_autotools_funcs = ( + "eaclocal", "eautoconf", "eautoheader", + "eautomake", "eautoreconf", "_elibtoolize") +_autotools_func_re = re.compile(r'(^|\s)(' + \ + "|".join(_autotools_funcs) + ')(\s|$)') def run_checks(contents, pkg): checks = list(_constant_checks)