Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 132355 | Differences between
and this patch

Collapse All | Expand All

(-)bin/emerge (-2 / +11 lines)
Lines 190-196 Link Here
190
"--fetchonly",    "--fetch-all-uri",
190
"--fetchonly",    "--fetch-all-uri",
191
"--getbinpkg",    "--getbinpkgonly",
191
"--getbinpkg",    "--getbinpkgonly",
192
"--help",         "--ignore-default-opts",
192
"--help",         "--ignore-default-opts",
193
"--noconfmem",
193
"--mindeps",      "--noconfmem",
194
"--newuse",       "--nocolor",
194
"--newuse",       "--nocolor",
195
"--nodeps",       "--noreplace",
195
"--nodeps",       "--noreplace",
196
"--nospinner",    "--oneshot",
196
"--nospinner",    "--oneshot",
Lines 352-357 Link Here
352
	# recurse:   go into the dependencies
352
	# recurse:   go into the dependencies
353
	# deep:      go into the dependencies of already merged packages
353
	# deep:      go into the dependencies of already merged packages
354
	# empty:     pretend nothing is merged
354
	# empty:     pretend nothing is merged
355
	# minimal:   exclude dependencies that aren't strictly required.
355
	myparams=["self","recurse"]
356
	myparams=["self","recurse"]
356
	add=[]
357
	add=[]
357
	sub=[]
358
	sub=[]
Lines 366-371 Link Here
366
		add.extend(["selective"])
367
		add.extend(["selective"])
367
	if "--deep" in myopts:
368
	if "--deep" in myopts:
368
		add.extend(["deep"])
369
		add.extend(["deep"])
370
	if "--mindeps" in myopts:
371
		add.append("minimal")
369
	if "--selective" in myopts:
372
	if "--selective" in myopts:
370
		add.extend(["selective"])
373
		add.extend(["selective"])
371
	if myaction in ["world","system"]:
374
	if myaction in ["world","system"]:
Lines 755-762 Link Here
755
			edepend[depkeys[i]] = depvalues[i]
758
			edepend[depkeys[i]] = depvalues[i]
756
759
757
		if mytype == "binary":
760
		if mytype == "binary":
758
			edepend["DEPEND"] = ""
761
			if "minimal" in self.myparams:
762
				edepend["DEPEND"] = ""
759
		elif mytype == "ebuild":
763
		elif mytype == "ebuild":
764
			# minimal + empty implies depclean
765
			if "minimal" in self.myparams and \
766
				("empty" in self.myparams or \
767
				mybigkey[-1] == "nomerge"):
768
				edepend["DEPEND"] = ""
760
			if "--buildpkgonly" in self.myopts:
769
			if "--buildpkgonly" in self.myopts:
761
				edepend["RDEPEND"] = ""
770
				edepend["RDEPEND"] = ""
762
				edepend["PDEPEND"] = ""
771
				edepend["PDEPEND"] = ""

Return to bug 132355