mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[fix][aur] makedepends not treated as a list | package name not considered as provided
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
__version__ = '0.8.1'
|
||||
__version__ = '0.8.2'
|
||||
__app_name__ = 'bauh'
|
||||
|
||||
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')
|
||||
|
||||
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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user