Sorry, not an answer, but a question.
Why not tell the truth right away? Something along the lines: my spouse turned out to be gay and we could not stay together? This way it's clear that this break up is not caused by you. Are there downsides to revealing these details?
I'll need to date in the future, so I'm also invested in knowing the right things to say