summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-14 13:15:44 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-14 13:15:44 +0000
commit1947be0908f43bb644df6439e94e8aa0afbf19ee (patch)
tree3165e5345da67f3b8833b0c2c2b3a416287583d4 /pym
parentAdd two new build log qa checks, suggested by Diego Pettenò: (diff)
downloadportage-multirepo-1947be0908f43bb644df6439e94e8aa0afbf19ee.tar.gz
portage-multirepo-1947be0908f43bb644df6439e94e8aa0afbf19ee.tar.bz2
portage-multirepo-1947be0908f43bb644df6439e94e8aa0afbf19ee.zip
Fix the 'inherit.autotools' check to account for apache-2_src_unpack()
calling eautoreconf. svn path=/main/trunk/; revision=10653
Diffstat (limited to 'pym')
-rw-r--r--pym/repoman/checks.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index e340a57f..0f339adb 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -230,6 +230,11 @@ def run_checks(contents, pkg):
checks.append(EbuildHeader(pkg.mtime))
iuse_def = None
inherit_autotools = "autotools" in pkg.inherited
+ if inherit_autotools:
+ if "apache-2" in pkg.inherited:
+ # eautoreconf is called by apache-2_src_unpack(),
+ # so the ebuild doesn't need to call it.
+ inherit_autotools = False
autotools_func_call = None
for num, line in enumerate(contents):
comment = _comment_re.match(line)