def packages_to_dict(request, packages):
    pkgs = {}
    for package in packages:
        pkgs[package.filename] = package.get_url(request)
    return pkgs
L{hosts.Resolver.lookupAddress} returns a L{Deferred} which fires with A
dataset/ETHPy150Open mathcamp/pypicloud/pypicloud/views/simple.py/packages_to_dict--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/names/test/test_hosts.py/HostsTests.test_lookupAddress