Add additional functions such as eaclocal and eautoheader to the
authorZac Medico <zmedico@gentoo.org>
Sun, 8 Jun 2008 03:15:06 +0000 (03:15 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 8 Jun 2008 03:15:06 +0000 (03:15 -0000)
inherit.autotools regex. Thanks to Arfrever.

svn path=/main/trunk/; revision=10602

pym/repoman/checks.py

index 3c202cad8649f620212c7babe46af6fccce89151..e340a57f3a733854c7f5c8ffa915f89002536ce2 100644 (file)
@@ -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)