Gentoo Archives: gentoo-user

From: Xi Shen <davidshen84@××××××××××.com>
To: gentoo-user@l.g.o
Cc: Shanghai Linux User Group <shlug@××××××××××××.com>
Subject: Re: [gentoo-user] how to emerge a package for python2.5 while python2.7 is default?
Date: Fri, 06 May 2011 10:15:44
Message-Id: BANLkTim+_1fRR3TjQ1zbf9McWL7cROTFvg@mail.gmail.com
In Reply to: Re: [gentoo-user] how to emerge a package for python2.5 while python2.7 is default? by Evgeny Bushkov
1 yes, USE_PYTHON. thank you!
2
3
4 On Fri, May 6, 2011 at 5:52 PM, Evgeny Bushkov <zhen@×××××××××.ru> wrote:
5 > On 06.05.2011 13:28, Xi Shen wrote:
6 >> Hi,
7 >>
8 >> My system is Gentoo 64bit, up to date. I want to use GAE, but it
9 >> supports python2.5 only. So I emerged python2.5, but I am unable to
10 >> emerge packages for python2.5.
11 >>
12 >> E.g. I emerged dev-python/oauth, but it is installed to
13 >> /usr/lib64/python2.7, but not python2.5.
14 >>
15 >> I think using eselect to change python version will not work, because
16 >> the emerge has already upgraded to python2.7.
17 >>
18 >>
19 > Try to add USE_PYTHON="2.5 2.7" to your make.conf. After that rebuild
20 > your package. USE_PYTHON says you want both 2.5 and 2.7 python modules
21 > built and installed.
22 >
23 > Best regards,
24 > Bushkov E.
25 >
26 >
27
28
29
30 --
31 Best Regards,
32 Xi Shen (David)
33
34 http://twitter.com/davidshen84/