From: Jason Stubbs Date: Thu, 29 Sep 2005 16:29:15 +0000 (-0000) Subject: remove CDEPEND X-Git-Tag: v2.0.53_rc4_2111~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=69ee9b83dfa4d80c42d58bfd07ef4a2020081816;p=portage.git remove CDEPEND ignore RDEPEND on --buildpkgonly svn path=/main/branches/2.0/; revision=2046 --- diff --git a/bin/emerge b/bin/emerge index 8f0971aa4..8f4edc755 100755 --- a/bin/emerge +++ b/bin/emerge @@ -985,7 +985,6 @@ class depgraph: edepend["DEPEND"] ="" edepend["RDEPEND"]=string.join(string.split(edepend["RDEPEND"])," ") edepend["PDEPEND"]=string.join(string.split(edepend["PDEPEND"])," ") - edepend["CDEPEND"]=string.join(string.split(edepend["CDEPEND"])," ") edepend["SLOT"] =string.strip(edepend["SLOT"]) #portage.db[portage.root]["bintree"].gettbz2(mykey) else: # It's local. @@ -993,14 +992,16 @@ class depgraph: edepend["DEPEND"] ="" edepend["RDEPEND"]=string.join(mytbz2.getelements("RDEPEND")," ") edepend["PDEPEND"]=string.join(mytbz2.getelements("PDEPEND")," ") - edepend["CDEPEND"]=string.join(mytbz2.getelements("CDEPEND")," ") edepend["SLOT"] =mytbz2.getfile("SLOT",mypkgparts[2]) elif mytype=="ebuild": try: - mymeta = ["DEPEND","RDEPEND","PDEPEND","CDEPEND"] + mymeta = ["DEPEND","RDEPEND","PDEPEND"] myfoo = portage.portdb.aux_get(mykey, mymeta) for index in range(0,len(mymeta)): edepend[mymeta[index]] = myfoo[index] + if "--buildpkgonly" in myopts: + edepend["RDEPEND"] = "" + edepend["PDEPEND"] = "" except (KeyError,IOError): print "emerge: create(): aux_get() error on",mykey+"; aborting..." sys.exit(1)