From: Zac Medico Date: Tue, 17 Aug 2010 01:29:18 +0000 (-0700) Subject: Pass token_class=portage.dep.Atom when parsing PROVIDE. X-Git-Tag: v2.2_rc68~144 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fa85f256d21a2f9692e9ad9d8cdc8ee16cbded1b;p=portage.git Pass token_class=portage.dep.Atom when parsing PROVIDE. --- 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" % \