public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] app-editors/vim-7.3 and python[3] USE flags
@ 2010-08-19 17:00 Jim Ramsay
  2010-08-19 17:48 ` Fabian Groffen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jim Ramsay @ 2010-08-19 17:00 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-20  9:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-19 17:00 [gentoo-dev] app-editors/vim-7.3 and python[3] USE flags Jim Ramsay
2010-08-19 17:48 ` Fabian Groffen
2010-08-19 19:58 ` [gentoo-dev] " Duncan
2010-08-20  5:56   ` Peter Volkov
2010-08-20  9:04 ` [gentoo-dev] " Mike Auty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox