Portage rejects any package name which have a version-like "part", even if it's not at the end of the name. '9p' or '9p-foo' are valid package names but rejected by portage. While fixing pkgsplit(), it'd be worth to fix package names with consecutive hyphens too. Like 'i--' or 'i---weird'.
*** Bug 263787 has been marked as a duplicate of this bug. ***
Thanks, this is fixed in svn r13185. (In reply to comment #0) > While fixing pkgsplit(), it'd be worth to fix package names with consecutive > hyphens too. Like 'i--' or 'i---weird'. It seems to already check for that. I've added some test cases for that.
> (In reply to comment #0) > > While fixing pkgsplit(), it'd be worth to fix package names with consecutive > > hyphens too. Like 'i--' or 'i---weird'. > > It seems to already check for that. I've added some test cases for that. Err, were you saying they should be allowed?
Multiple hyphens are legal. There're packages whose names contain ++, so -- is probably going to happen at some point too.
Thanks, consecutive hyphens in or on the end of package names are allowed in svn r13187.
This is fixed in 2.1.6.11 and 2.2_rc28.