diff --git a/CHANGELOG.md b/CHANGELOG.md index c3d9bae7..93ac4595 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [0.8.2] +### Fixes +- AUR: + - not treating **makedepends' as a list during dependency checking ( **anbox-git** installation was crashing ) + - not considering the package name itself as *provided** during dependency checking ( **anbox-git** installation was crashing ) + ## [0.8.1] 2020-01-14 ### Features: - Flatpak: diff --git a/bauh/__init__.py b/bauh/__init__.py index e6a21914..a7c7df35 100644 --- a/bauh/__init__.py +++ b/bauh/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.8.1' +__version__ = '0.8.2' __app_name__ = 'bauh' import os diff --git a/bauh/gems/arch/aur.py b/bauh/gems/arch/aur.py index 5ed024ca..2cccaf7d 100644 --- a/bauh/gems/arch/aur.py +++ b/bauh/gems/arch/aur.py @@ -15,7 +15,7 @@ URL_SEARCH = 'https://aur.archlinux.org/rpc/?v=5&type=search&arg=' RE_SRCINFO_KEYS = re.compile(r'(\w+)\s+=\s+(.+)\n') -KNOWN_LIST_FIELDS = ('validpgpkeys', 'depends', 'optdepends', 'sha512sums', 'sha512sums_x86_64', 'source', 'source_x86_64') +KNOWN_LIST_FIELDS = ('validpgpkeys', 'depends', 'optdepends', 'sha512sums', 'sha512sums_x86_64', 'source', 'source_x86_64', 'makedepends') def map_pkgbuild(pkgbuild: str) -> dict: diff --git a/bauh/gems/arch/pacman.py b/bauh/gems/arch/pacman.py index 93dbb75c..f531a950 100644 --- a/bauh/gems/arch/pacman.py +++ b/bauh/gems/arch/pacman.py @@ -324,7 +324,7 @@ def read_provides(name: str) -> Set[str]: if provided_names[0].lower() == 'none': provides = {name} else: - provides = set(provided_names) + provides = {name, *provided_names} return provides