From 5d2fe81d9e4940dedde49c13dcde7a3be79c1132 Mon Sep 17 00:00:00 2001 From: Hessel van der Molen Date: Sat, 30 Jan 2021 23:32:18 +0100 Subject: [PATCH] homebrew: accept keg-only packages as installed --- src/rosdep2/platforms/osx.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rosdep2/platforms/osx.py b/src/rosdep2/platforms/osx.py index 13b072377..1bd4ea529 100644 --- a/src/rosdep2/platforms/osx.py +++ b/src/rosdep2/platforms/osx.py @@ -204,7 +204,11 @@ def is_installed(r): pkg_info = pkg_info[0] linked_version = pkg_info['linked_keg'] if not linked_version: - return False + keg_only = pkg_info['keg_only'] + if keg_only: + return True + else: + return False for spec in pkg_info['installed']: if spec['version'] == linked_version: installed_options = spec['used_options']