From d4a1183825ded0276106ca13523acf7f83f7ea80 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 17 Jan 2022 18:17:05 +0000 Subject: fixed regex mising package names with - --- src/verbs/install.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/verbs/install.py') diff --git a/src/verbs/install.py b/src/verbs/install.py index 71fede8..21f4724 100644 --- a/src/verbs/install.py +++ b/src/verbs/install.py @@ -204,11 +204,13 @@ def update_needed(package, new_checksum, config, root="/"): return not new_checksum == version def resolve_dependencies(package_info): - return [ + d = [ dep - for dep in re.findall("\w*", package_info["DEPS"]) + for dep in re.findall("[\w,-]*", package_info["DEPS"]) if len(dep) > 0 ] + print(d) + return d def find_all_dependencies(package_names, options, config): # this is all assuming that the order of deps installed doesn't matter -- cgit v1.2.1