mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[fix][aur] not able to install packages based on other packages | other fixes
This commit is contained in:
@@ -2,13 +2,17 @@ import os
|
||||
import re
|
||||
from typing import Tuple
|
||||
|
||||
from bauh.commons.system import SimpleProcess, ProcessHandler
|
||||
from bauh.commons.system import SimpleProcess, ProcessHandler, run_cmd
|
||||
from bauh.gems.arch import CUSTOM_MAKEPKG_FILE
|
||||
|
||||
RE_DEPS_PATTERN = re.compile(r'\n?\s+->\s(.+)\n')
|
||||
RE_UNKNOWN_GPG_KEY = re.compile(r'\(unknown public key (\w+)\)')
|
||||
|
||||
|
||||
def gen_srcinfo(build_dir: str) -> str:
|
||||
return run_cmd('makepkg --printsrcinfo', cwd=build_dir)
|
||||
|
||||
|
||||
def check(pkgdir: str, optimize: bool, handler: ProcessHandler) -> dict:
|
||||
res = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user