Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: parallel_emerge

Issue 2937011: Fix parallel_emerge to handle "=" and "." in package names. Both can occur. (Closed) Base URL: ssh://git@chromiumos-git/crosutils.git
Patch Set: Address review feedback Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: parallel_emerge
diff --git a/parallel_emerge b/parallel_emerge
index b2b61a1dbee53fc303f5ab909dbc29335d6a6271..20cb3f00531fa5ca0b7adc83083919b6e811fa0e 100755
--- a/parallel_emerge
+++ b/parallel_emerge
@@ -206,7 +206,7 @@ def DepsToTree(lines):
r" \'(?P<pkgdir>[\w\+-]+)/(?P<pkgname>[\w\+-]+)-"
r"(?P<version>\d+[\w\.-]*)\', \'(?P<action>\w+)\'\) "
r"(?P<deptype>(depends on|\(.*\)))")
- re_origdeps = re.compile(r"(?P<pkgname>[\w\+/-]+) depends on")
+ re_origdeps = re.compile(r"(?P<pkgname>[\w\+/=.<>~*-]+) depends on")
re_installed_package = re.compile(
r"\[(?P<desc>[^\]]*)\] "
r"(?P<pkgdir>[\w\+-]+)/"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698