Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 110489 Details for
Bug 166939
--nodeps flag is ignored by emerge for virtual packages since portage-2.1.2-r9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make --nodeps behave like a normal package for new-style virtuals
nodeps.patch (text/plain), 1.68 KB, created by
Zac Medico
on 2007-02-17 19:48:48 UTC
(
hide
)
Description:
make --nodeps behave like a normal package for new-style virtuals
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-02-17 19:48:48 UTC
Size:
1.68 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 5984) >+++ bin/emerge (revision 5985) >@@ -1517,23 +1517,31 @@ > #processing dependencies > """ Call portage.dep_check to evaluate the use? conditionals and make sure all > dependencies are satisfiable. """ >- try: >- if myparent and p_status == "nomerge": >- portage_dep._dep_check_strict = False >- mycheck = portage.dep_check(depstring, None, >- pkgsettings, myuse=myuse, >- use_binaries=("--usepkgonly" in self.myopts), >- myroot=myroot, trees=self.trees) >- finally: >- portage_dep._dep_check_strict = True >+ if arg: >+ mymerge = [depstring] >+ pprovided = pkgsettings.pprovideddict.get( >+ portage.dep_getkey(depstring)) >+ if pprovided and portage.match_from_list(depstring, pprovided): >+ mymerge = [] >+ else: >+ try: >+ if myparent and p_status == "nomerge": >+ portage_dep._dep_check_strict = False >+ mycheck = portage.dep_check(depstring, None, >+ pkgsettings, myuse=myuse, >+ use_binaries=("--usepkgonly" in self.myopts), >+ myroot=myroot, trees=self.trees) >+ finally: >+ portage_dep._dep_check_strict = True > >- if not mycheck[0]: >- if myparent: >- show_invalid_depstring_notice(myparent, depstring, mycheck[1]) >- else: >- sys.stderr.write("\n%s\n%s\n" % (depstring, mycheck[1])) >- return 0 >- mymerge = mycheck[1] >+ if not mycheck[0]: >+ if myparent: >+ show_invalid_depstring_notice( >+ myparent, depstring, mycheck[1]) >+ else: >+ sys.stderr.write("\n%s\n%s\n" % (depstring, mycheck[1])) >+ return 0 >+ mymerge = mycheck[1] > > if not mymerge and arg and \ > portage.best_match_to_list(depstring, self.args_keys):
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 166939
: 110489