Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6566

Summary: ebuild x.ebuild package without installing
Product: Portage Development Reporter: Todd Heim (RETIRED) <heim>
Component: UnclassifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Todd Heim (RETIRED) gentoo-dev 2002-08-15 23:57:07 UTC
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.
Comment 1 SpanKY gentoo-dev 2002-08-16 02:44:22 UTC
see Bug 5793 for details

*** This bug has been marked as a duplicate of 5793 ***