Jim Ramsay posted on Thu, 19 Aug 2010 17:00:17 +0000 as excerpted:

> 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?

What about USE=python indicating "maintainer's choice" of version?  You 
could then have either python2 or python3 flags for the other one.

This sounds a bit more like a policy that should be workable on a longer 
and more global scale, and similar to what kde and gtk, among others, have 
done in the past (tho I'm not sure this is exactly right, either, see 
next).

I'd strongly suggest consulting with the kde and gtk projects (others?) 
and coordinating a global python versioned USE flag policy, as there's 
definitely some gotchas in doing it wrong, that they've had to live with 
and ultimately correct as time went on and the preferred version became 
the new one, with the old one eventually deprecated and ultimately removed 
from the tree.  There's definitely some wisdom of experience there that 
can save python based packages some pain in the long term (3+ years out, 
tho it's hard to see a scenario where python2 was actually removed from 
the tree in anything less than 5, if ever, but never say never).

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to