mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 11:04:15 +02:00
fix: AUR installation | showing optdeps comments
This commit is contained in:
@@ -8,8 +8,8 @@ from bauh.commons.html import bold
|
||||
|
||||
def request_optional_deps(pkgname: str, pkg_mirrors: dict, watcher: ProcessWatcher, i18n: dict) -> Set[str]:
|
||||
view_opts = MultipleSelectComponent(label='',
|
||||
options=[InputOption('{} ( {} )'.format(p, m.upper()), p) for p, m in
|
||||
pkg_mirrors.items()])
|
||||
options=[InputOption('{}{} ( {} )'.format(p, ': ' + d['desc'] if d['desc'] else '', d['mirror'].upper()), p)
|
||||
for p, d in pkg_mirrors.items()])
|
||||
install = watcher.request_confirmation(title=i18n['arch.install.optdeps.request.title'],
|
||||
body='<p>{}</p>'.format(i18n['arch.install.optdeps.request.body'].format(bold(pkgname)) + ':'),
|
||||
components=[view_opts],
|
||||
|
||||
Reference in New Issue
Block a user