|
@ -36,7 +36,7 @@ def parse_build_file_dependencies(path): |
|
|
|
|
|
|
|
|
with open(path, encoding="utf-8") as build_script: |
|
|
with open(path, encoding="utf-8") as build_script: |
|
|
for line in build_script: |
|
|
for line in build_script: |
|
|
if line.startswith( ('TERMUX_PKG_DEPENDS', 'TERMUX_PKG_BUILD_DEPENDS', 'TERMUX_SUBPKG_DEPENDS') ): |
|
|
if line.startswith( ('TERMUX_PKG_DEPENDS', 'TERMUX_PKG_BUILD_DEPENDS', 'TERMUX_SUBPKG_DEPENDS', 'TERMUX_PKG_DEVPACKAGE_DEPENDS') ): |
|
|
dependencies_string = line.split('DEPENDS=')[1] |
|
|
dependencies_string = line.split('DEPENDS=')[1] |
|
|
for char in "\"'\n": |
|
|
for char in "\"'\n": |
|
|
dependencies_string = dependencies_string.replace(char, '') |
|
|
dependencies_string = dependencies_string.replace(char, '') |
|
|