diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-08 03:15:06 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-08 03:15:06 +0000 |
commit | 24dd9bc7252b7e17568df031549371ea5257c4ed (patch) | |
tree | 0b20d2fcb60a2e0d14e3bf1a89937c7e623f5030 | |
parent | a3d8218b27cce0f42cc3273c07526ac1a091fbd1 (diff) | |
download | portage-24dd9bc7252b7e17568df031549371ea5257c4ed.tar.gz portage-24dd9bc7252b7e17568df031549371ea5257c4ed.tar.bz2 portage-24dd9bc7252b7e17568df031549371ea5257c4ed.zip |
Add additional functions such as eaclocal and eautoheader to the
inherit.autotools regex. Thanks to Arfrever.
svn path=/main/trunk/; revision=10602
-rw-r--r-- | pym/repoman/checks.py | 6 |
1 files changed, 5 insertions, 1 deletions
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) |