From b0d09312c577b5b74a8cb5e4cc3ef196f71c94a5 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 21 Oct 2019 14:55:13 -0300 Subject: [PATCH] [aur] fix: not able to handle missing dependencies with symbols --- CHANGELOG.md | 1 + bauh/gems/arch/pacman.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f7a7ee3..0a972ca8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - AUR: - update-checking for some scenarios - not respecting 'ignorepkg' settings in **pacman.conf** + - not able to handle **missing dependencies with symbols** ( e.g: libpng++ ) ## [0.7.0] 2019-10-18 ### Features diff --git a/bauh/gems/arch/pacman.py b/bauh/gems/arch/pacman.py index 678355f0..91a9a279 100644 --- a/bauh/gems/arch/pacman.py +++ b/bauh/gems/arch/pacman.py @@ -14,7 +14,7 @@ def is_enabled() -> bool: def get_mirrors(pkgs: Set[str]) -> dict: - pkgre = '|'.join(pkgs) + pkgre = '|'.join(pkgs).replace('+', r'\+').replace('.', r'\.') searchres = new_subprocess(['pacman', '-Ss', pkgre]).stdout mirrors = {}