projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c0b4e
)
Pass token_class=portage.dep.Atom when parsing PROVIDE.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 17 Aug 2010 01:29:18 +0000
(18:29 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 17 Aug 2010 01:29:18 +0000
(18:29 -0700)
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index cb9baf1bed3623fd52c1d3ab361b0433bfbe95dc..920f5edf2ed611a9b3e819e523d165abefb4bcbe 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-1467,7
+1467,8
@@
for x in scanlist:
(relative_path, mirror))
try:
- provide = portage.dep.use_reduce(pkg.metadata['PROVIDE'], matchall=1, flat=True)
+ provide = portage.dep.use_reduce(pkg.metadata['PROVIDE'],
+ token_class=portage.dep.Atom, matchall=1, flat=True)
except portage.exception.InvalidDependString:
stats["PROVIDE.syntax"] = stats["PROVIDE.syntax"] + 1
fails["PROVIDE.syntax"].append("%s: %s" % \