Add user and pgp key management modules (fixes #38)

This commit is contained in:
Kivi Kaitaniemi
2025-12-28 09:18:37 +02:00
parent 9b3454f434
commit 4b5b703203
7 changed files with 1010 additions and 2 deletions
@@ -147,7 +147,10 @@ class AurPacmanInterface(pacman.PacmanInterface):
"""
Returns True if a package can be installed using pacman.
"""
return pkg in self._name_index or pacman.strip_dependency(pkg) in self._provides_index
return (
pacman.strip_dependency(pkg) in self._name_index
or pacman.strip_dependency(pkg) in self._provides_index
)
def get_versioned_foreign_packages(self) -> list[tuple[str, str]]:
"""