With the advent of vim-7.3 that I just threw at the tree, we now
have optional python-3 support for this package.  But how to
model this in USE flags?

The upstream ./configure has --enable-pythoninterp and
--enable-python3interp, the former for python2 support (via the
vim ':py' command) and the latter for python3 support (via the
vim ':py3' command).  You can enable one, or the other, or both,
or none.

So, I can see a couple ways of doing this:

Option 1: IUSE="python python3"

Where python -> --enable-pythoninterp
And python3 -> --enable-python3interp

This means if you want python3 support and not python2 support
you would need USE="-python +python3"  A bit confusing, perhaps?
Or if I set the local flag description properly, is it okay?

Option 2: IUSE="python2 python3"

Just get rid of the 'python' USE flag entirely, which is a bit
odd in its own way...

Any other suggestions or comments on these two?

-- 
Jim Ramsay
Gentoo/Linux Developer (rox/fluxbox/gkrellm/vim)

Attachment: pgp0ThpfyqTwg.pgp
Description: PGP signature

Reply via email to