[154397] users/mojca/scripts/remove-perl-branches.py

mojca at macports.org mojca at macports.org
Sat Oct 29 00:15:59 CEST 2016


Revision: 154397
          https://trac.macports.org/changeset/154397
Author:   mojca at macports.org
Date:     2016-10-29 00:15:59 +0200 (Sat, 29 Oct 2016)
Log Message:
-----------
mojca/scripts: update the script to remove 5.22 from p5-*

Modified Paths:
--------------
    users/mojca/scripts/remove-perl-branches.py

Modified: users/mojca/scripts/remove-perl-branches.py
===================================================================
--- users/mojca/scripts/remove-perl-branches.py	2016-10-28 22:15:02 UTC (rev 154396)
+++ users/mojca/scripts/remove-perl-branches.py	2016-10-28 22:15:59 UTC (rev 154397)
@@ -18,7 +18,7 @@
         if match:
             versions_old = match.group(1)
             # remove 5.16 5.28 5.20
-            versions_new = re.sub(r'5[.](16|18|20)\s+', '', versions_old)
+            versions_new = re.sub(r'5[.](16|18|20|22)\s+', '', versions_old)
             # new version string (properly formatted for 20 spaces)
             line_new     = "perl5.branches      {}".format(versions_new)
             # just debug output
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161029/c0a322d7/attachment-0002.html>


More information about the macports-changes mailing list