( "=null/portage-2.1*", True ),
( "=foo/bar-123-1", True ),
( "=foo/bar-123-1-r1", True ),
- ( "=foo/bar--baz-1-r1", False ),
- ( "=foo/bar-baz--1-r1", False ),
+ ( "=foo/bar--baz-1-r1", True ),
+ ( "=foo/bar-baz--1-r1", True ),
+ ( "=foo/bar-baz---1-r1", True ),
+ ( "=foo/bar-baz---1", True ),
( "=foo/bar-baz-1--r1", False ),
]
print "!!! Name error in",mypkg+": missing a version or name part."
pkgcache[mypkg]=None
return None
- for x in myparts:
- if len(x)==0:
- if not silent:
- print "!!! Name error in",mypkg+": empty \"-\" part."
- pkgcache[mypkg]=None
- return None
-
+
#verify rev
revok=0
myrev=myparts[-1]