projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b4875
)
StaticFileSet: fix for EAPI 5 sub-slot in SLOT
author
Zac Medico
<zmedico@gentoo.org>
Thu, 18 Oct 2012 03:02:26 +0000
(20:02 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 18 Oct 2012 03:02:26 +0000
(20:02 -0700)
pym/portage/_sets/files.py
patch
|
blob
|
history
diff --git
a/pym/portage/_sets/files.py
b/pym/portage/_sets/files.py
index b891ea4f44a3b06dcc5f252418125a0aa61ca685..b839582dfbc2ac3442e7d09ef3a692a836ebc5a2 100644
(file)
--- a/
pym/portage/_sets/files.py
+++ b/
pym/portage/_sets/files.py
@@
-86,8
+86,8
@@
class StaticFileSet(EditablePackageSet):
for a in data:
matches = self.dbapi.match(a)
for cpv in matches:
- atoms.append("%s:%s" % (cpv_getkey(cpv),
-
self.dbapi.aux_get(cpv, ["SLOT"])[0]
))
+ pkg = self.dbapi._pkg_str(cpv, None)
+
atoms.append("%s:%s" % (pkg.cp, pkg.slot
))
# In addition to any installed slots, also try to pull
# in the latest new slot that may be available.
atoms.append(a)