Gentoo Archives: gentoo-user

From: Evgeny Bushkov <zhen@×××××××××.ru>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to emerge a package for python2.5 while python2.7 is default?
Date: Fri, 06 May 2011 09:54:08
Message-Id: 4DC3C4EA.1080604@dotcomltd.ru
In Reply to: [gentoo-user] how to emerge a package for python2.5 while python2.7 is default? by Xi Shen
1 On 06.05.2011 13:28, Xi Shen wrote:
2 > Hi,
3 >
4 > My system is Gentoo 64bit, up to date. I want to use GAE, but it
5 > supports python2.5 only. So I emerged python2.5, but I am unable to
6 > emerge packages for python2.5.
7 >
8 > E.g. I emerged dev-python/oauth, but it is installed to
9 > /usr/lib64/python2.7, but not python2.5.
10 >
11 > I think using eselect to change python version will not work, because
12 > the emerge has already upgraded to python2.7.
13 >
14 >
15 Try to add USE_PYTHON="2.5 2.7" to your make.conf. After that rebuild
16 your package. USE_PYTHON says you want both 2.5 and 2.7 python modules
17 built and installed.
18
19 Best regards,
20 Bushkov E.

Replies