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. Reproducible: Always
Created attachment 339108 [details] kate w/ 'pate' replaced by 'python' and PYTHON_SINGLE_TARGET support
Interesting. :) 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)
Nice! I see you committed your patch directly upstream, how about backporting to KDE/4.10 too?
(In reply to comment #7) > Nice! > > I see you committed your patch directly upstream, how about backporting to > KDE/4.10 too? Done
Thanks, pushed to the overlay. http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=2982529d6c6141e3ebdba3bfb490fcc3fc93df38