projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb1a654
)
Make repoman generate a syntax error if a slot dep is used with EAPI == 0.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 6 Oct 2006 07:37:19 +0000
(07:37 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 6 Oct 2006 07:37:19 +0000
(07:37 -0000)
svn path=/main/trunk/; revision=4604
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 55f147633b39cd818aa8b0cb8d3588cc8c20e6fe..7abe7775653ef179b63baa395f199d4b408376b4 100755
(executable)
--- 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)))