A giant former Wetherspoons pub in Edinburgh will reopen next week under new owners – five months after locals were left gutted by its closure.