mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
AUR bearhub: fix stale source cache collision (pkgrel=10)
Use tag-specific tarball name bearhub-0.10.7-bearhub.6.tar.gz so makepkg and AUR helpers do not reuse an outdated bearhub-0.10.7.tar.gz from cache. Ignore makepkg artifacts under packaging/aur/.
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
from typing import Iterable, Optional
|
||||
|
||||
from bauh.api.abstract.handler import ProcessWatcher
|
||||
from bauh.api.abstract.view import MessageType
|
||||
from bauh.commons.html import bold
|
||||
from bauh.view.util.translation import I18n
|
||||
|
||||
|
||||
def show_deps_not_installed(watcher: ProcessWatcher, pkgname: str, depnames: Iterable[str], i18n: I18n):
|
||||
deps = ', '.join((bold(d) for d in depnames))
|
||||
watcher.show_message(title=i18n['error'].capitalize(),
|
||||
body=i18n['arch.install.dependency.install.error'].format(deps, bold(pkgname)),
|
||||
type_=MessageType.ERROR)
|
||||
|
||||
|
||||
def show_dep_not_found(depname: str, i18n: I18n, watcher: ProcessWatcher, dependent: Optional[str] = None):
|
||||
|
||||
source = f" {bold('(' + dependent + ')')}" if dependent else ''
|
||||
|
||||
body = f"<p>{i18n['arch.install.dep_not_found.body.l1'].format(dep=bold(depname), source=source)}</p>" \
|
||||
f"<p><{i18n['arch.install.dep_not_found.body.l2']}</p>" \
|
||||
f"<p>{i18n['arch.install.dep_not_found.body.l3']}</p>"
|
||||
|
||||
watcher.show_message(title=i18n['arch.install.dep_not_found.title'].capitalize(),
|
||||
body=body,
|
||||
type_=MessageType.ERROR)
|
||||
|
||||
|
||||
def show_optdeps_not_installed(depnames: Iterable[str], watcher: ProcessWatcher, i18n: I18n):
|
||||
deps = ', '.join((bold(d) for d in depnames))
|
||||
watcher.show_message(title=i18n['error'].capitalize(),
|
||||
body=i18n['arch.install.optdep.error'].format(deps),
|
||||
type_=MessageType.ERROR)
|
||||
Reference in New Issue
Block a user