(show_stdout)
| 27 | return "not found" |
| 28 | |
| 29 | def get_dependencies(show_stdout): |
| 30 | for line in show_stdout.split("\n"): |
| 31 | m = re.match(r"^Requires:\s(?P<requires>.+)$", line) |
| 32 | if m: |
| 33 | return m.group('requires').split(', ') |
| 34 | return [] |
| 35 | |
| 36 | |
| 37 | if __name__ == "__main__": |