Like proposed in Bug #522476 I edited the ebuild to contain USE Flags for booth versions of the Semantic Analyzer, sadly they can only selected at build time and use different sources. Reproducible: Always
Created attachment 393162 [details] kdevelop-python-1.7.0 with semantic-analyzer useflags
Created attachment 393174 [details] kdevelop-python-1.7.0 with proper PYTHON_SINGLE_TARGET Sorry, the initial ebuild won't work properly. After a nice hint at python-single-r1 I reworked it and attached the new version. Since this is my 1st more complex ebuild, please feel open to comment.
Created attachment 393398 [details] kdevelop-python-1.7.0 with proper PYTHON_SINGLE_TARGET r2 Added some cmake Options, since the Buildtime detection of Python kind of does not work on Gentoo.
Created attachment 393438 [details] After Feedback from #gentoo-dev-help I removed PYTHON_SINGLE_TARGET
How about to just drop python2 and use python3?
(In reply to Johannes Huber from comment #5) > How about to just drop python2 and use python3? It won't care, if it is just the Code running as python3. But the sytax analyzer sadly just works on the build python version. So if you build it for python3, you only get code completion, syntax checks and so on for python3. It is the same with python2. Since python2 is still pretty common, i think it would be good to have a choice.
Features was broken by Upstream python and as far as i understand won't be fixed for kde4 Version