Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91538 Details for
Bug 132355
optionally allow emerge --usepkg to pull in build time dependencies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add a --mindeps emerge option
mindeps.patch (text/plain), 1.41 KB, created by
Zac Medico
on 2006-07-11 22:09:37 UTC
(
hide
)
Description:
add a --mindeps emerge option
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-07-11 22:09:37 UTC
Size:
1.41 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 3836) >+++ bin/emerge (working copy) >@@ -190,7 +190,7 @@ > "--fetchonly", "--fetch-all-uri", > "--getbinpkg", "--getbinpkgonly", > "--help", "--ignore-default-opts", >-"--noconfmem", >+"--mindeps", "--noconfmem", > "--newuse", "--nocolor", > "--nodeps", "--noreplace", > "--nospinner", "--oneshot", >@@ -352,6 +352,7 @@ > # recurse: go into the dependencies > # deep: go into the dependencies of already merged packages > # empty: pretend nothing is merged >+ # minimal: exclude dependencies that aren't strictly required. > myparams=["self","recurse"] > add=[] > sub=[] >@@ -366,6 +367,8 @@ > add.extend(["selective"]) > if "--deep" in myopts: > add.extend(["deep"]) >+ if "--mindeps" in myopts: >+ add.append("minimal") > if "--selective" in myopts: > add.extend(["selective"]) > if myaction in ["world","system"]: >@@ -755,8 +758,14 @@ > edepend[depkeys[i]] = depvalues[i] > > if mytype == "binary": >- edepend["DEPEND"] = "" >+ if "minimal" in self.myparams: >+ edepend["DEPEND"] = "" > elif mytype == "ebuild": >+ # minimal + empty implies depclean >+ if "minimal" in self.myparams and \ >+ ("empty" in self.myparams or \ >+ mybigkey[-1] == "nomerge"): >+ edepend["DEPEND"] = "" > if "--buildpkgonly" in self.myopts: > edepend["RDEPEND"] = "" > edepend["PDEPEND"] = ""
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 132355
:
91510
| 91538