Lines Matching refs:core_pkgs
327 def add_non_dev_dependencies(args, all_deps, core_pkgs, visited, pkg): argument
341 if p not in core_pkgs and pkg in core_pkgs:
342 core_pkgs.add(p)
343 deps = add_non_dev_dependencies(args, all_deps, core_pkgs, visited, p)
345 if pkg in core_pkgs:
347 deps = add_non_dev_dependencies(args, all_deps, core_pkgs, visited, p)
356 core_pkgs = set(map(lambda t: t[0], found_pkgs))
358 dump_pkgs(args, "BEFORE", all_deps, core_pkgs, dev_pkgs)
360 for pkg in sorted(core_pkgs):
361 add_non_dev_dependencies(args, all_deps, core_pkgs, visited, pkg)
366 echo(args, pattern.format(len(core_pkgs), set2list(core_pkgs)))
369 num_core_pkgs = len(core_pkgs)
370 for pkg in sorted(core_pkgs):
373 add_non_dev_dependencies(args, all_deps, core_pkgs, visited, pkg)
378 num_dev_deps != new_num_dev_deps or num_core_pkgs != len(core_pkgs)):
380 dev_pkgs = visited.difference(core_pkgs)
381 dump_pkgs(args, "AFTER", all_deps, core_pkgs, dev_pkgs)
382 found_pkgs = list(map(lambda p: all_deps[p], core_pkgs))
398 def dump_pkgs(args, msg, all_deps, core_pkgs, dev_pkgs): argument
399 echo_dump_found_pkgs(args, msg + " core_pkgs:", all_deps, core_pkgs)