mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[arch] fix: not upgrading a package when a dependent package relies on a specific version with epoch
This commit is contained in:
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
|
|
||||||
## [0.9.26]
|
## [0.9.26]
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Arch
|
||||||
|
- not upgrading a package when a dependent package relies on a specific version with epoch (e.g: alsa-plugins 1:1.2.6-1 would not be upgraded to 1:1.2.6-2 because lib32-alsa-plugins relies on 1:1.2.6)
|
||||||
|
|
||||||
### UI
|
### UI
|
||||||
- new logo by [DN-debug](https://github.com/DN-debug)
|
- new logo by [DN-debug](https://github.com/DN-debug)
|
||||||
- new dark theme (**knight**) based on Kimi-dark gtk by [DN-debug](https://github.com/DN-debug)
|
- new dark theme (**knight**) based on Kimi-dark gtk by [DN-debug](https://github.com/DN-debug)
|
||||||
|
|||||||
@@ -882,22 +882,14 @@ def map_required_dependencies(*names: str) -> Dict[str, Set[str]]:
|
|||||||
deps = set()
|
deps = set()
|
||||||
|
|
||||||
if val != 'None':
|
if val != 'None':
|
||||||
if ':' in val:
|
deps.update((dep for dep in val.split(' ') if dep))
|
||||||
dep_info = val.split(':')
|
|
||||||
deps.add(dep_info[0].strip())
|
|
||||||
else:
|
|
||||||
deps.update({dep.strip() for dep in val.split(' ') if dep})
|
|
||||||
|
|
||||||
elif latest_name and deps is not None:
|
elif latest_name and deps is not None:
|
||||||
res[latest_name] = deps
|
res[latest_name] = deps
|
||||||
latest_name, deps, latest_field = None, None, None
|
latest_name, deps, latest_field = None, None, None
|
||||||
|
|
||||||
elif latest_name and deps is not None:
|
elif latest_name and deps is not None:
|
||||||
if ':' in l:
|
deps.update((dep for dep in l.split(' ') if dep))
|
||||||
dep_info = l.split(':')
|
|
||||||
deps.add(dep_info[0].strip())
|
|
||||||
else:
|
|
||||||
deps.update({dep.strip() for dep in l.split(' ') if dep})
|
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user