[arch] fix: skipping the package version epoch when checking the updates requirements

This commit is contained in:
Vinicius Moreira
2021-06-15 15:52:34 -03:00
parent 279e0a1820
commit dfdc209374
3 changed files with 7 additions and 2 deletions

View File

@@ -4,6 +4,11 @@ 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.9.17]
### Fixes
- Arch
- skipping the package version epoch when checking the updates requirements
## [0.9.16] 2021-04-06
### Fixes
- Arch

View File

@@ -1,4 +1,4 @@
__version__ = '0.9.16'
__version__ = '0.9.17'
__app_name__ = 'bauh'
import os

View File

@@ -674,7 +674,7 @@ def map_updates_data(pkgs: Iterable[str], files: bool = False) -> dict:
if val == 'None':
data['d'] = None
else:
data['d'] = {w.strip().split(':')[0].strip() for w in val.split(' ') if w}
data['d'] = {w.strip() for w in val.split(' ') if w}
latest_field = 'd'
elif field == 'Conflicts With':
if val == 'None':