Add additional functions such as eaclocal and eautoheader to the
authorZac Medico <zmedico@gentoo.org>
Mon, 9 Jun 2008 15:09:42 +0000 (15:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 9 Jun 2008 15:09:42 +0000 (15:09 -0000)
inherit.autotools regex. Thanks to Arfrever. (trunk r10602)

svn path=/main/branches/2.1.2/; revision=10617

bin/repoman

index 6b250834918009f9ec84ab2e2eb0402488a8d695..d80b033bbff31c8f0c0c2de1572158777f50ffb6 100755 (executable)
@@ -1124,7 +1124,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):
        iuse_def = None