'Remove the dependency relationships for a repository that was just uninstalled.'

def handle_repository_uninstall(self, repository):

    for tool_dependency in repository.tool_dependencies:
        tool_dependency_tup = self.get_tool_dependency_tuple_for_installed_repository_manager(tool_dependency)
        altered_installed_runtime_dependent_tool_dependencies_of_installed_tool_dependencies = {}
        for (td_tup, installed_runtime_dependent_tool_dependency_tups) in self.installed_runtime_dependent_tool_dependencies_of_installed_tool_dependencies.items():
            if (tool_dependency_tup in installed_runtime_dependent_tool_dependency_tups):
                installed_runtime_dependent_tool_dependency_tups.remove(tool_dependency_tup)
            altered_installed_runtime_dependent_tool_dependencies_of_installed_tool_dependencies[td_tup] = installed_runtime_dependent_tool_dependency_tups
        self.installed_runtime_dependent_tool_dependencies_of_installed_tool_dependencies = altered_installed_runtime_dependent_tool_dependencies_of_installed_tool_dependencies
        self.remove_entry_from_runtime_tool_dependencies_of_installed_tool_dependencies(tool_dependency)
        self.remove_entry_from_installed_runtime_dependent_tool_dependencies_of_installed_tool_dependencies(tool_dependency)
    self.remove_entry_from_installed_tool_dependencies_of_installed_repositories(repository)
    self.remove_entry_from_tool_dependencies_of_installed_repositories(repository)
    self.remove_entry_from_installed_repository_dependencies_of_installed_repositories(repository)
    self.remove_entry_from_repository_dependencies_of_installed_repositories(repository)
