Browse Source

buildorder.py: make subpackage pull its parent

emacs-27
Tom Yan 6 years ago
committed by Leonid Plyushch
parent
commit
873b10d788
  1. 5
      scripts/buildorder.py

5
scripts/buildorder.py

@ -120,10 +120,9 @@ class TermuxSubPackage:
self.name = os.path.basename(subpackage_file_path).split('.subpackage.sh')[0] self.name = os.path.basename(subpackage_file_path).split('.subpackage.sh')[0]
self.parent = parent self.parent = parent
if virtual:
self.deps = set([parent.name]) self.deps = set([parent.name])
else: if not virtual:
self.deps = parse_build_file_dependencies(subpackage_file_path) self.deps |= parse_build_file_dependencies(subpackage_file_path)
self.dir = parent.dir self.dir = parent.dir
self.needed_by = set() # Populated outside constructor, reverse of deps. self.needed_by = set() # Populated outside constructor, reverse of deps.

Loading…
Cancel
Save