From 24dd9bc7252b7e17568df031549371ea5257c4ed Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 8 Jun 2008 03:15:06 +0000 Subject: Add additional functions such as eaclocal and eautoheader to the inherit.autotools regex. Thanks to Arfrever. svn path=/main/trunk/; revision=10602 --- pym/repoman/checks.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pym/repoman') 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) -- cgit v1.2.3-1-g7c22