Browse Source

buildorder.py: parse TERMUX_PKG_DEVPACKAGE_DEPENDS

emacs-27
Tom Yan 6 years ago
committed by Leonid Plyushch
parent
commit
3cfb02d491
  1. 2
      scripts/buildorder.py

2
scripts/buildorder.py

@ -36,7 +36,7 @@ def parse_build_file_dependencies(path):
with open(path, encoding="utf-8") as 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]
for char in "\"'\n":
dependencies_string = dependencies_string.replace(char, '')

Loading…
Cancel
Save