From fed10d47a1d1d3d0362c9868aa24a5f94e012525 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 6 Oct 2006 07:37:19 +0000 Subject: [PATCH] Make repoman generate a syntax error if a slot dep is used with EAPI == 0. svn path=/main/trunk/; revision=4604 --- bin/repoman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index 55f147633..7abe77756 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1092,7 +1092,8 @@ for x in scanlist: if mytype in ("DEPEND", "RDEPEND", "PDEPEND"): for token in filter(lambda x: not (x.endswith("?") or x.strip() in ("||", "&&", "(", ")")), mydepstr.split()): - if not "/" in token: + if not "/" in token or \ + ":" in token and myaux["EAPI"] == "0": badsyntax.append("'%s' not a valid atom" % token) type_list.extend([mytype] * (len(badsyntax) - len(type_list))) -- 2.26.2