projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5386d73
)
Make LibraryConsumerSet.mapPathsToAtoms() produce slot atoms so that atoms
author
Zac Medico
<zmedico@gentoo.org>
Tue, 19 Feb 2008 01:53:45 +0000
(
01:53
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 19 Feb 2008 01:53:45 +0000
(
01:53
-0000)
aren't restricted to the currently installed version, making upgrades
possible.
svn path=/main/trunk/; revision=9351
pym/portage/sets/dbapi.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/dbapi.py
b/pym/portage/sets/dbapi.py
index a1b902fdcc4db9abf2072032ab237907ea23f656..220ff2283498a44fc5c27d7c5b2b9178b3fad581 100644
(file)
--- a/
pym/portage/sets/dbapi.py
+++ b/
pym/portage/sets/dbapi.py
@@
-126,8
+126,10
@@
class LibraryConsumerSet(PackageSet):
link = dblink(mysplit[0], mysplit[1], myroot=self.dbapi.root, \
mysettings=self.dbapi.settings, treetype='vartree', \
vartree=self.dbapi.vartree)
- if paths.intersection(link.getcontents().keys()):
- rValue.add("/".join(catpkgsplit(cpv)[:2]))
+ if paths.intersection(link.getcontents()):
+ cat, pn = catpkgsplit(cpv)[:2]
+ slot = self.dbapi.aux_get(cpv, ["SLOT"])[0]
+ rValue.add("%s/%s:%s" % (cat, pn, slot))
return rValue