Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537176 - app-editors/vim and app-editors/gvim should support multiple python targets
Summary: app-editors/vim and app-editors/gvim should support multiple python targets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vim Maintainers
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
: 537178 537606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-21 00:10 UTC by Azpegath
Modified: 2015-02-07 02:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Azpegath 2015-01-21 00:10:13 UTC
I have issues with my python flags for (G)Vim. Even though I have enabled PYTHON_TARGETS="2.7 3.3" I only get Python 3 support, and no ordinary "python" support.

I have this as my build flags for Gvim:

root@skare$ emerge -pqv vim
[ebuild   R   ] app-editors/vim-7.4.560  USE="X acl gpm nls perl python vim-pager -cscope -debug -lua -luajit -minimal -racket -ruby (-selinux) -tcl" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 python3_4"
root@skare$ emerge -pqv gvim
[ebuild   R   ] app-editors/gvim-7.4.560  USE="acl gnome gtk netbeans nls perl python session (-aqua) -cscope -debug -lua -luajit -motif -neXt -racket -ruby (-selinux) -tcl" PYTHON_SINGLE_TARGET="python3_3 -python2_7 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4"	

but when checking :version in GVim this is what I have:

Kod:	
-python
+python3

I found the post in the forum that I have linked to the bug, which seems to have a patch for it, along with a question of whether it is a bug or not.

Reproducible: Always

Actual Results:  
Only support for Python 3 interpreter

Expected Results:  
Support for both Python (2) and Python 3 interpreter
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-21 07:37:11 UTC
*** Bug 537178 has been marked as a duplicate of this bug. ***
Comment 2 Tim Harder gentoo-dev 2015-01-21 16:59:15 UTC
It's not a bug, multiple implementation support was explicitly disabled during earlier issues with the (at the time) new python eclasses and the vim eclass.

I've considered re-enabling multi implementation support after I got rid of the vim eclass recently (allowing easier changes between versions), but I haven't gotten around to it.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-25 08:36:01 UTC
*** Bug 537606 has been marked as a duplicate of this bug. ***
Comment 4 Azpegath 2015-02-03 20:51:46 UTC
It would be great to see it introduced again since more and more plugins are taking advantage of python3, but python 2 is still a bit too common to be removed completely.
Comment 5 Cecil Curry 2015-02-07 00:41:30 UTC
(In reply to Tim Harder from comment #2)
> It's not a bug.

User requests both Python 2 and 3 support. User receives one or the other but not both with no ebuild output noting this to be the expected case.

This is a bug.

> multiple implementation support was explicitly disabled during earlier
> issues with the (at the time) new python eclasses and the vim eclass.

Is this still an issue? The forum thread at http://forums.gentoo.org/viewtopic-p-7689082.html suggests "Probably not."
 
> I've considered re-enabling multi implementation support after I got rid of
> the vim eclass recently (allowing easier changes between versions), but I
> haven't gotten around to it.

I need this. I can't be the only one. Until this resolves itself, I'll probably maintain a temporary "app-editors/vim" fork at my unofficial "raiagent" overlay. Needless to say, this is non-ideal.

Thankfully, this is the only issue I've ever stumbled across with the Vim ebuilds. Thanks for the great work, intrepid maintainers.
Comment 6 Tim Harder gentoo-dev 2015-02-07 02:21:43 UTC
Re-enabled in 7.4.622.