def METHOD_NAME(location):
    """
    Return a Package object from a .podspec file or None.
    """
    if not is_podspec(location):
        return
    podspec_object = Spec()
    podspec_data = podspec_object.parse_spec(location)
    return build_package(podspec_data)