a feature I would like to propose would be an option to just build tbz2's without installing. it would be handy to build on a faster box, without contaminating its enviroment, or setting up a chroot enviroment. with such a feature, one could set the CFLAGS/CXXFLAGS/PKGDIR enviroment variables, then build the tbz2's into their own package tree. I believe this could be accomplished by copying one chunk of code from /usr/lib/python2.2/site-packages/portage.py: elif mydo=="package": ...more code here... return ebuildsh("setup unpack compile install package") and changing two lines. elif mydo=="justpackage": ...more code here... return ebuildsh("setup unpack compile package") //note missing INSTALL step this seems logical, but I'll admit, I dont know python too well.. so I may be way off here.
see Bug 5793 for details *** This bug has been marked as a duplicate of 5793 ***