Created attachment 228596 [details] git diff Recently noticed this is a messing depend for devel/p5-Data-Unixish. Format number with metric prefix. format_metric(14 , {base=>10}); # => "14" format_metric(12000 , {base=> 2, precision=>1}); # => "11.7K" format_metric(12000 , {base=>10, precision=>1}); # => "11.7Ki" format_metric(-0.0017, {base=>10}); # => "1.7m" WWW: https://metacpan.org/dist/Number-Format-Metric
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0821d602adcb0ed87fb39b8222572a87cd6a0793 commit 0821d602adcb0ed87fb39b8222572a87cd6a0793 Author: Zane C. Bowers-Hadley <vvelox@vvelox.net> AuthorDate: 2021-11-05 08:07:10 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-05 08:18:09 +0000 textproc/p5-Number-Format-Metric: Add new port Format number with metric prefix. format_metric(14 , {base=>10}); # => "14" format_metric(12000 , {base=> 2, precision=>1}); # => "11.7K" format_metric(12000 , {base=>10, precision=>1}); # => "11.7Ki" format_metric(-0.0017, {base=>10}); # => "1.7m" PR: 259078 MFH: 2021Q4 (required to fix missing dependency issue) textproc/Makefile | 1 + textproc/p5-Number-Format-Metric/Makefile (new) | 20 ++++++++++++++++++++ textproc/p5-Number-Format-Metric/distinfo (new) | 3 +++ textproc/p5-Number-Format-Metric/pkg-descr (new) | 8 ++++++++ textproc/p5-Number-Format-Metric/pkg-plist (new) | 2 ++ 5 files changed, 34 insertions(+)
A commit in branch 2021Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=34f87e637351a2c2512eb343063102c229dd42e3 commit 34f87e637351a2c2512eb343063102c229dd42e3 Author: Zane C. Bowers-Hadley <vvelox@vvelox.net> AuthorDate: 2021-11-05 08:07:10 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-05 08:36:57 +0000 textproc/p5-Number-Format-Metric: Add new port Format number with metric prefix. format_metric(14 , {base=>10}); # => "14" format_metric(12000 , {base=> 2, precision=>1}); # => "11.7K" format_metric(12000 , {base=>10, precision=>1}); # => "11.7Ki" format_metric(-0.0017, {base=>10}); # => "1.7m" PR: 259078 MFH: 2021Q4 (required to fix missing dependency issue) (cherry picked from commit 0821d602adcb0ed87fb39b8222572a87cd6a0793) textproc/Makefile | 1 + textproc/p5-Number-Format-Metric/Makefile (new) | 20 ++++++++++++++++++++ textproc/p5-Number-Format-Metric/distinfo (new) | 3 +++ textproc/p5-Number-Format-Metric/pkg-descr (new) | 8 ++++++++ textproc/p5-Number-Format-Metric/pkg-plist (new) | 2 ++ 5 files changed, 34 insertions(+)
Committed and merged to quarterly branch. Thanks!