maven/internal/require.bzl
def _install(deps, verbose):
    """Install a list if dependencies for matching native rules.
    Return:
      list of deps that have no matching native rule.
    """
    todo = []

    for d in deps:
        name = d.get("name")
        rule = d.pop("rule", None)
        if not rule:
            fail("Missing attribute 'rule': %s" % name)
        if rule == "new_http_archive" or rule == "http_archive":
            rule = http_archive
            if verbose: print("Loading %s)" % name)
            rule(**d)
        elif hasattr(native, rule):
            rule = getattr(native, rule)
            if verbose: print("Loading %s)" % name)
            rule(**d)
        else:
            d["rule"] = rule
            todo.append(d)

    return todo
Install a list if dependencies for matching native rules.
    Return:
      list of deps that have no matching native rule.
    
Install a list if dependencies for matching native rules.
Return:
list of deps that have no matching native rule.
Install a list if dependencies for matching native rules . Return : list of deps that have no matching native rule .
def _install(deps, verbose):
    todo = []
    for d in deps:
        name = d.get("name")
        rule = d.pop("rule", None)
        if not rule:
            fail("Missing attribute 'rule': %s" % name)
        if rule == "new_http_archive" or rule == "http_archive":
            rule = http_archive
            if verbose: print("Loading %s)" % name)
            rule(**d)
        elif hasattr(native, rule):
            rule = getattr(native, rule)
            if verbose: print("Loading %s)" % name)
            rule(**d)
        else:
            d["rule"] = rule
            todo.append(d)
    return todo
def _install ( deps , verbose ) : todo = [ ] for d in deps : name = d . get ( "name" ) rule = d . pop ( "rule" , None ) if not rule : fail ( "Missing attribute 'rule': %s" % name ) if rule == "new_http_archive" or rule == "http_archive" : rule = http_archive if verbose : print ( "Loading %s)" % name ) rule ( ** d ) elif hasattr ( native , rule ) : rule = getattr ( native , rule ) if verbose : print ( "Loading %s)" % name ) rule ( ** d ) else : d [ "rule" ] = rule todo . append ( d ) return todo
Install a list if dependencies for matching native rules.
Install a list if dependencies for matching native rules .
"""Install a list if dependencies for matching native rules.
    Return:
      list of deps that have no matching native rule.
    """
deps
verbose