def METHOD_NAME():
    """Loads the dependencies from YAML file"""
    content = None
    with (Path(__file__).parent / DEP_PATH).resolve().open("r") as dpath:
        content = yaml.safe_load(dpath)
    origins = {a: dep for a, dep in content["deps"].items()}
    for platform, ver in ((p, v) for p in content["platforms"] for v in p["ver"]):
        apps = content["apps"]  # TODO: filter this based on apps on platform..
        # Populate with defaults
        plain = copy.deepcopy(content["defaults"][platform["os"]]["deps"])
        # Remove some deps depending on plaform
        for origin, aliases in plain:
            for alias in platform["drop"]:
                if alias in aliases:
                    aliases.remove(alias)
        # Add platform specific auxiliary tools and libs
        plain += platform["aux"]
        # Adjust to "alternative" origins
        for org_origin, org_aliases in plain:
            for alt_origin, alt_aliases in platform["alt"]:
                for alt_alias in alt_aliases:
                    if alt_alias in org_aliases:
                        org_aliases.remove(alt_alias)
        plain += platform["alt"]
        # Find the first entry of "sys"
        first_sys_entry = -1
        for i, [origin, aliases] in enumerate(plain):
            if origin == "sys":
                first_sys_entry = i
                break
        # Merge all system packages into first entry of "sys"
        for i in reversed(range(len(plain))):
            if plain[i][0] == "sys" and i != first_sys_entry:
                plain[first_sys_entry][1] += plain[i][1]
                del plain[i]
        # Resolve the plain into deps by retrieving the names as per "origin"
        deps = []
        for origin, aliases in plain:
            deps_aliases = []
            for alias in aliases:  # Retrieve the package-name from alias
                pkg_names = origins.get(alias, {}).get("names", {})
                if origin == "sys":
                    key = platform["mng"] if platform["mng"] in pkg_names else "default"
                    deps_aliases += pkg_names.get(key, [alias])
                elif origin == "src":
                    deps_aliases.append(alias)
                    continue
                else:
                    deps_aliases += pkg_names.get(origin, [alias])
                    continue
            deps_aliases.sort()
            deps.append([origin, deps_aliases])
        yield platform, ver, apps, deps