fix: arch -> conflict check for mirror packages | not building packages while checking

This commit is contained in:
Vinicius Moreira
2019-09-23 18:15:54 -03:00
parent 75577f0b94
commit d8ea8701c6
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ RE_UNKNOWN_GPG_KEY = re.compile(r'\(unknown public key (\w+)\)')
def check(pkgdir: str, handler: ProcessHandler) -> dict:
res = {}
success, output = handler.handle_simple(SimpleProcess(['makepkg', '-ALcf', '--check', '--noarchive'], cwd=pkgdir))
success, output = handler.handle_simple(SimpleProcess(['makepkg', '-ALcf', '--check', '--noarchive', '--nobuild'], cwd=pkgdir))
if 'Missing dependencies' in output:
res['missing_deps'] = RE_DEPS_PATTERN.findall(output)