summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-17 18:17:05 +0000
committerdavidovski <david@davidovski.xyz>2022-01-17 18:17:05 +0000
commitd4a1183825ded0276106ca13523acf7f83f7ea80 (patch)
tree40f20c69d7f2789e21d8b6a2c345d8a56ab64e90
parent4138c564bf9f9406950a39098b287702c7d323d0 (diff)
fixed regex mising package names with -
-rw-r--r--src/verbs/install.py6
1 files changed, 4 insertions, 2 deletions
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