A simple rename works if you remove the test-related epatch call. I did not test the ebuild's test stage. cheers
logilab-common-0.31.0 is in CVS with tests fixed. Thanks for reporting :)