since KDE SC 4.10 kate has support for python plugins, but current ebuild nowadays restricted to Python 2 support only! Actually kate could be compiled (and work well) w/ Python 3 (thanx to Shaheed Haque, the main contributor to pate plugin in the last release).
In updated ebuild I've renamed `pate' to `python' USE flag (according "official" name of this plugin and just to reduce a count of less-known USE flags in sake of smth familiar). Also support for PYTHON_SINGLE_TARGET has been added: so kate ccan be compiled w/ Python 2.7 or 3.2.
Created attachment 339108 [details]
kate w/ 'pate' replaced by 'python' and PYTHON_SINGLE_TARGET support
Gentoo devs usually prefer unified diffs against an in-tree ebuild so that your changes can be more easily reviewed right here.
Created attachment 339198 [details, diff]
patch against kate-4.10.0.ebuild
patch to rename 'pate' to 'python' USE, add support for Python 3 and fix a bug in expand pluing
Created attachment 339200 [details, diff]
patch to fix errors in Python 3 for expand plugin
Created attachment 339202 [details]
kate-4.10.0-r2.ebuild w/ patch for Python 3 expand plugin
(In reply to comment #2)
> Interesting. :)
> Gentoo devs usually prefer unified diffs against an in-tree ebuild so that
> your changes can be more easily reviewed right here.
added a diff and updated r2 of the ebuild (w/ fixes for Python 3 in the 'expand' plugin taken from kate.git master branch)
I see you committed your patch directly upstream, how about backporting to KDE/4.10 too?
(In reply to comment #7)
> I see you committed your patch directly upstream, how about backporting to
> KDE/4.10 too?
Thanks, pushed to the overlay.