Why is gerrymandering a partisan affair?

Each party wants to divide states into districts in which the majority supports a specific political power. That way the majority of the House of Representatives is from one party.

http://en.wikipedia.org/wiki/Gerrymandering