[MacPorts] #46322: p5-*: consistently remove Perl versions 5.8-5.14

MacPorts noreply at macports.org
Wed Dec 31 14:46:14 PST 2014


#46322: p5-*: consistently remove Perl versions 5.8-5.14
--------------------------+--------------------------------
  Reporter:  mojca@…      |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------------------

Comment (by larryv@…):

 Updated script:
 {{{
 #!sh
 port -q info --index --line --version --revision --name 'p5-*' | awk '
     BEGIN {
         blacklist["p5-app-ack"] = ""
         blacklist["p5-catalyst-plugin-unicode-encoding"] = ""
         blacklist["p5-class-mop"] = ""
         blacklist["p5-email-mime-modifier"] = ""
         blacklist["p5-graveyard"] = ""
         blacklist["p5-json-pp"] = ""
         blacklist["p5-test-tester"] = ""
         blacklist["p5-test-use-ok"] = ""
     }
     {
         if ($3 in blacklist)
             next
         padding = (48 - length($3)) / 8
         if (padding != int(padding))
             padding = int(padding) + 1
         printf "%s", $3
         for (i = 0; i < padding; ++i)
             printf "\t"
         printf "%s_%d%s", $1, ($2 + 1), ORS
     }
 '
 }}}

 Any other snafus?

-- 
Ticket URL: <https://trac.macports.org/ticket/46322#comment:50>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list