Here is a patch to fix the python useflag and spell which still fails to be detected correctly. Reproducible: Always Actual Results: gedit can be build without python plugin support.
Created attachment 121579 [details] patched ebuild
Fixed in 2.18.1-r1. Thanks.