Ugandan President Yoweri Museveni announced that he would be signing a bill punishing homosexuality with life in prison to rapturous cheers from lawmakers.