def packages_in_group(pkglist, group_name):
    ret = []
    for pkg in pkglist:
        if pkg.get('group') == group_name:
            ret.append(pkg)
    return ret
Given a list of all packages, return a list of those in the named group.
dataset/ETHPy150Open hwaf/hwaf/py-hwaftools/orch/envmunge.py/packages_in_group