def METHOD_NAME(mountpoint):
    """
    Attempt to unmount a dmg file from a temporary location
    Args:
        mountpoint (str): The location of the mount point
    Returns:
        str: The results of the hdutil detach command
    CLI Example:
    .. code-block:: bash
        salt '*' macpackage.unmount /dev/disk2
    """
    cmd = 'hdiutil detach "{}"'.format(mountpoint)
    return __salt__["cmd.run"](cmd)