Re: [gentoo-user] how to emerge a package for python2.5 while python2.7 is default?

2011-05-06 Thread Evgeny Bushkov
On 06.05.2011 13:28, Xi Shen wrote:
 Hi,

 My system is Gentoo 64bit, up to date. I want to use GAE, but it
 supports python2.5 only. So I emerged python2.5, but I am unable to
 emerge packages for python2.5.

 E.g. I emerged dev-python/oauth, but it is installed to
 /usr/lib64/python2.7, but not python2.5.

 I think using eselect to change python version will not work, because
 the emerge has already upgraded to python2.7.


Try to add USE_PYTHON=2.5 2.7 to your make.conf. After that rebuild
your package. USE_PYTHON says you want both 2.5 and 2.7 python modules
built and installed.

Best regards,
Bushkov E.



Re: [gentoo-user] how to emerge a package for python2.5 while python2.7 is default?

2011-05-06 Thread Xi Shen
yes, USE_PYTHON. thank you!


On Fri, May 6, 2011 at 5:52 PM, Evgeny Bushkov z...@dotcomltd.ru wrote:
 On 06.05.2011 13:28, Xi Shen wrote:
 Hi,

 My system is Gentoo 64bit, up to date. I want to use GAE, but it
 supports python2.5 only. So I emerged python2.5, but I am unable to
 emerge packages for python2.5.

 E.g. I emerged dev-python/oauth, but it is installed to
 /usr/lib64/python2.7, but not python2.5.

 I think using eselect to change python version will not work, because
 the emerge has already upgraded to python2.7.


 Try to add USE_PYTHON=2.5 2.7 to your make.conf. After that rebuild
 your package. USE_PYTHON says you want both 2.5 and 2.7 python modules
 built and installed.

 Best regards,
 Bushkov E.





-- 
Best Regards,
Xi Shen (David)

http://twitter.com/davidshen84/



Re: [gentoo-user] how to emerge a package for python2.5 while python2.7 is default?

2011-05-06 Thread Sebastian Pipping
On 05/06/2011 11:52 AM, Evgeny Bushkov wrote:
 Try to add USE_PYTHON=2.5 2.7 to your make.conf. After that rebuild
 your package.

.. using app-admin/python-updater !




Sebastian