Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 406578 Details for
Bug 554578
emerge always raises attribute error with soname deps enabled
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use Atom with dbapi.match_pkgs
0001-Use-Atom-with-dbapi.match_pkgs.patch (text/plain), 1.17 KB, created by
mike@marineau.org
on 2015-07-12 03:38:25 UTC
(
hide
)
Description:
Use Atom with dbapi.match_pkgs
Filename:
MIME Type:
Creator:
mike@marineau.org
Created:
2015-07-12 03:38:25 UTC
Size:
1.17 KB
patch
obsolete
>From c22ee01be765297e75fff5e325cb7304c8f081ab Mon Sep 17 00:00:00 2001 >From: Michael Marineau <mike@marineau.org> >Date: Sat, 11 Jul 2015 20:36:51 -0700 >Subject: [PATCH] Use Atom with dbapi.match_pkgs > >--- > pym/_emerge/BlockerDB.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/pym/_emerge/BlockerDB.py b/pym/_emerge/BlockerDB.py >index 8bb8f5f..2c49665 100644 >--- a/pym/_emerge/BlockerDB.py >+++ b/pym/_emerge/BlockerDB.py >@@ -6,6 +6,7 @@ import sys > import portage > from portage import os > from portage import digraph >+from portage.dep import Atom > from portage._sets.base import InternalPackageSet > > from _emerge.BlockerCache import BlockerCache >@@ -117,7 +118,7 @@ class BlockerDB(object): > def discardBlocker(self, pkg): > """Discard a package from the list of potential blockers. > This will match any package(s) with identical cpv or cp:slot.""" >- for cpv_match in self._fake_vartree.dbapi.match_pkgs("=%s" % (pkg.cpv,)): >+ for cpv_match in self._fake_vartree.dbapi.match_pkgs(Atom("=%s" % (pkg.cpv,))): > if cpv_match.cp == pkg.cp: > self._fake_vartree.cpv_discard(cpv_match) > for slot_match in self._fake_vartree.dbapi.match_pkgs(pkg.slot_atom): >-- >2.3.6 >
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 554578
: 406578