Thanks for that. :)

On 29/06/11 11:07, Denis Bondar wrote:
Try this:

> Get the post 2.6 python source and compile:

emerge --fetchonly =dev-lang/python-2.7.1-r1
cd
tar xjf /usr/portage/distfiles/Python-2.7.1.tar.bz2
cd Python-2.7.1/
./configure --with-fpectl --infodir=/usr/share/info/ --mandir=/usr/share/man
make
make install prefix=/usr
rm /usr/bin/python 2>/dev/null
ln -s /usr/bin/python2.7 /usr/bin/python

> get portage bin, copy then compile on your own, just to be safe

wget -P /usr/portage/distfiles http://distfiles.gentoo.org/distfiles/portage-2.1.9.42.tar.bz2
cd /root
mkdir portage-recover
cd portage-recover
tar xfj /usr/portage/distfiles/portage-2.1.9.42.tar.bz2
cd /root/portage-recover/portage-2.1.9.42
rm -rf /usr/lib/portage/*
cp -R pym bin /usr/lib/portage/
emerge sys-apps/portage

> emerge python 2.7.1 just to be safe
eselect python list
eselect python set 3
emerge =dev-lang/python-2.7.1-r1

> Run Python Updater now that you have the new python set as the master python on your system
python-updater

> Then update any configs
etc-update


2011/6/29 Todd Hebert <t...@iil.ie <mailto:t...@iil.ie>>

    Does anyone know of a howto etc.. for dropping a new portage
    version into a system where you can't BUILD a new portage version
    due to license restrictions. (Portage doesn't understand the EAPI
    2 license scheme, and there are items that require it in order to
    build.)







--
Kind regards,
Denis Bondar

Reply via email to