From dfdc20937433b1f6b8308f6c4711200d6a6b007d Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Tue, 15 Jun 2021 15:52:34 -0300 Subject: [PATCH] [arch] fix: skipping the package version epoch when checking the updates requirements --- CHANGELOG.md | 5 +++++ bauh/__init__.py | 2 +- bauh/gems/arch/pacman.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41f9fc18..cf5e8f29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/bauh/__init__.py b/bauh/__init__.py index 21db5942..5b6bb829 100644 --- a/bauh/__init__.py +++ b/bauh/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.9.16' +__version__ = '0.9.17' __app_name__ = 'bauh' import os diff --git a/bauh/gems/arch/pacman.py b/bauh/gems/arch/pacman.py index e998e3b4..29c639e4 100644 --- a/bauh/gems/arch/pacman.py +++ b/bauh/gems/arch/pacman.py @@ -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':