summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-16 18:29:18 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-16 18:29:18 -0700
commitfa85f256d21a2f9692e9ad9d8cdc8ee16cbded1b (patch)
treed4b219eb90e0585c1a8a24b1dfdef9563085414e
parent36c0b4e9cb43196c7d1a2701c8f052f64f6ac504 (diff)
downloadportage-fa85f256d21a2f9692e9ad9d8cdc8ee16cbded1b.tar.gz
portage-fa85f256d21a2f9692e9ad9d8cdc8ee16cbded1b.tar.bz2
portage-fa85f256d21a2f9692e9ad9d8cdc8ee16cbded1b.zip
Pass token_class=portage.dep.Atom when parsing PROVIDE.
-rwxr-xr-xbin/repoman3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index cb9baf1be..920f5edf2 100755
--- 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" % \