From fa85f256d21a2f9692e9ad9d8cdc8ee16cbded1b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 16 Aug 2010 18:29:18 -0700 Subject: [PATCH] Pass token_class=portage.dep.Atom when parsing PROVIDE. --- bin/repoman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" % \ -- 2.26.2