aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrewrite-commit-dump.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rewrite-commit-dump.py b/rewrite-commit-dump.py
index d1ecf01..0d1397e 100755
--- a/rewrite-commit-dump.py
+++ b/rewrite-commit-dump.py
@@ -12,6 +12,9 @@ mangler.append(functools.partial(
re.compile(r"^\(paludis (0.1.*)\)$", re.M|re.I).sub,
r"Package-Manager: paludis-\1/"))
mangler.append(functools.partial(
+ re.compile(r'^\(portage version: *([^,\n)]*), +unsigned Manifest commit\)$', re.M|re.I).sub,
+ r'Package-Manager: portage-\1'))
+mangler.append(functools.partial(
re.compile(r"^\(portage version: (.*)\)$", re.M|re.I).sub,
r"Package-Manager: portage-\1"))