mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 13:14:15 +02:00
[fix][aur] makedepends not treated as a list | package name not considered as provided
This commit is contained in:
@@ -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/).
|
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
|
## [0.8.1] 2020-01-14
|
||||||
### Features:
|
### Features:
|
||||||
- Flatpak:
|
- Flatpak:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
__version__ = '0.8.1'
|
__version__ = '0.8.2'
|
||||||
__app_name__ = 'bauh'
|
__app_name__ = 'bauh'
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -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')
|
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:
|
def map_pkgbuild(pkgbuild: str) -> dict:
|
||||||
|
|||||||
@@ -324,7 +324,7 @@ def read_provides(name: str) -> Set[str]:
|
|||||||
if provided_names[0].lower() == 'none':
|
if provided_names[0].lower() == 'none':
|
||||||
provides = {name}
|
provides = {name}
|
||||||
else:
|
else:
|
||||||
provides = set(provided_names)
|
provides = {name, *provided_names}
|
||||||
|
|
||||||
return provides
|
return provides
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user