projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
585f0df
)
getportageversion: omit implicit -r0 for libc
author
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Jul 2011 16:16:39 +0000
(09:16 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Jul 2011 16:16:39 +0000
(09:16 -0700)
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index 8601929010037df0580720766c33bb34ee1158a5..e57fd934587ffe32336e6a546a20c28e53ec3050 100644
(file)
--- a/
pym/_emerge/actions.py
+++ b/
pym/_emerge/actions.py
@@
-2823,7
+2823,10
@@
def getportageversion(portdir, target_root, profile, chost, vardb):
libclist.update(vardb.match(atom))
if libclist:
for cpv in sorted(libclist):
- libcver.append("-".join(portage.catpkgsplit(cpv)[1:]))
+ libc_split = portage.catpkgsplit(cpv)[1:]
+ if libc_split[-1] == "r0":
+ libc_split[:-1]
+ libcver.append("-".join(libc_split))
else:
libcver = ["unavailable"]