[MacPorts] #25182: add a way to exclude build dependencies from pseudo-portname "leaves"

MacPorts noreply at macports.org
Wed Jun 9 09:58:29 PDT 2010


#25182: add a way to exclude build dependencies from pseudo-portname "leaves"
-------------------------------------+--------------------------------------
 Reporter:  swebster@…               |       Owner:  macports-tickets@…                   
     Type:  enhancement              |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  base                     |     Version:  1.9.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------

Comment(by swebster@…):

 Thanks for fixing the ticket title.  -b doesn't work (seems to be assigned
 to binary only mode), but --no-build excludes build dependencies from the
 rdeps output, which is I think what you meant.  I guess that could help
 people resolve some ambiguity.  However, I don't think it actually helps
 me find what I was considering "true leaves."  To do that I figure what I
 would do is:
 {{{
 port rdeps requested | grep -v '^The' | sed -E 's/ +//' | sort | uniq >
 alldeps
 port installed leaves | grep -v '^The' | awk '{print $1}' > supposedleaves
 comm -1 -3 alldeps supposedleaves
 }}}
 This would give me a list of what I would consider "true leaves."

-- 
Ticket URL: <http://trac.macports.org/ticket/25182#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list