Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Jim Ramsay <lack@g.o>
Subject: app-editors/vim-7.3 and python[3] USE flags
Date: Thu, 19 Aug 2010 17:00:17 +0000
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:
pgpIpbAG3RQdr.pgp (PGP signature)
Replies:
Re: app-editors/vim-7.3 and python[3] USE flags
-- Mike Auty
Re: app-editors/vim-7.3 and python[3] USE flags
-- Duncan
Re: app-editors/vim-7.3 and python[3] USE flags
-- Fabian Groffen
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Last rites: mail-client/claws-mail-gtkhtml
Next by thread:
Re: app-editors/vim-7.3 and python[3] USE flags
Previous by date:
Last rites: mail-client/claws-mail-gtkhtml
Next by date:
Re: app-editors/vim-7.3 and python[3] USE flags


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.