It should check 'ibus' instead of 'uim'.
Created attachment 230231 [details, diff] sunpinyin-2.0.1.ebuild.patch
fixed. thanks