Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 121695 Details for
Bug 181551
sys-apps/portage-2.1.2.9 ignores :slot in /etc/portage/package.keywords
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add support for slot deps in package.keywords
pkeywords.patch (text/plain), 1.09 KB, created by
Zac Medico
on 2007-06-10 19:37:00 UTC
(
hide
)
Description:
add support for slot deps in package.keywords
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-06-10 19:37:00 UTC
Size:
1.09 KB
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 6790) >+++ pym/portage.py (revision 6791) >@@ -6299,13 +6299,14 @@ > > accept_keywords = self.mysettings["ACCEPT_KEYWORDS"].split() > pkgdict = self.mysettings.pkeywordsdict >+ aux_keys = ["KEYWORDS", "EAPI", "SLOT"] > for mycpv in mylist: > try: >- keys, eapi = self.aux_get(mycpv, ["KEYWORDS", "EAPI"]) >+ keys, eapi, slot = self.aux_get(mycpv, aux_keys) > except KeyError: > continue > except portage_exception.PortageException, e: >- writemsg("!!! Error: aux_get('%s', ['KEYWORDS', 'EAPI'])\n" % \ >+ writemsg("!!! Error: aux_get('%s', %s)\n" % (mycpv, aux_keys), > mycpv, noiselevel=-1) > writemsg("!!! %s\n" % str(e), noiselevel=-1) > del e >@@ -6316,7 +6317,8 @@ > match=0 > cp = dep_getkey(mycpv) > if pkgdict.has_key(cp): >- matches = match_to_list(mycpv, pkgdict[cp].keys()) >+ cpv_slot = "%s:%s" % (mycpv, slot) >+ matches = match_to_list(cpv_slot, pkgdict[cp].keys()) > for atom in matches: > pgroups.extend(pkgdict[cp][atom]) > if matches:
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 181551
: 121695