git: 05e0ab5b1ea3 - main - devel/p5-Perl-Metrics-Simple: Update to 0.19

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 00:04:44 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05e0ab5b1ea37b6251b13196be27cfa83b4e76bf

commit 05e0ab5b1ea37b6251b13196be27cfa83b4e76bf
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-17 23:47:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-17 23:58:55 +0000

    devel/p5-Perl-Metrics-Simple: Update to 0.19
    
    - Fix indent
    - Sort PLIST
    
    Changes:        https://metacpan.org/dist/Perl-Metrics-Simple/changes
---
 devel/p5-Perl-Metrics-Simple/Makefile                | 18 +++++++++---------
 devel/p5-Perl-Metrics-Simple/distinfo                |  5 +++--
 devel/p5-Perl-Metrics-Simple/files/patch-File.pm     |  6 +++---
 devel/p5-Perl-Metrics-Simple/files/patch-TestData.pm |  8 ++++----
 devel/p5-Perl-Metrics-Simple/pkg-plist               | 13 ++++++++++---
 5 files changed, 29 insertions(+), 21 deletions(-)

diff --git a/devel/p5-Perl-Metrics-Simple/Makefile b/devel/p5-Perl-Metrics-Simple/Makefile
index 3b6565580f3f..cb63afc7c76b 100644
--- a/devel/p5-Perl-Metrics-Simple/Makefile
+++ b/devel/p5-Perl-Metrics-Simple/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	Perl-Metrics-Simple
-PORTVERSION=	0.18
+PORTVERSION=	0.19
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -11,17 +11,17 @@ LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
 
 BUILD_DEPENDS=	${RUN_DEPENDS}
-RUN_DEPENDS=	\
-	p5-PPI>=1.113:textproc/p5-PPI \
-	p5-Readonly>=1.03:devel/p5-Readonly \
-	p5-Statistics-Basic>0:math/p5-Statistics-Basic
-TEST_DEPENDS=	\
-	p5-Test-Pod>0:devel/p5-Test-Pod \
-	p5-Test-Pod-Coverage>0:devel/p5-Test-Pod-Coverage
+RUN_DEPENDS=	p5-PPI>=1.113:textproc/p5-PPI \
+		p5-Readonly>=1.03:devel/p5-Readonly \
+		p5-Statistics-Basic>=0:math/p5-Statistics-Basic
+TEST_DEPENDS=	p5-Test-Compile>=0:devel/p5-Test-Compile \
+		p5-Test-Pod-Coverage>=1.04:devel/p5-Test-Pod-Coverage \
+		p5-Test-Pod>=1.00:devel/p5-Test-Pod
 
 USES=		perl5
 USE_PERL5=	configure
-NO_ARCH=	YES
+
+NO_ARCH=	yes
 
 post-patch:
 	${FIND} ${WRKSRC} -name '*.orig' -delete
diff --git a/devel/p5-Perl-Metrics-Simple/distinfo b/devel/p5-Perl-Metrics-Simple/distinfo
index 4ba069e9ffdd..0e0edb7f2d3b 100644
--- a/devel/p5-Perl-Metrics-Simple/distinfo
+++ b/devel/p5-Perl-Metrics-Simple/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Perl-Metrics-Simple-0.18.tar.gz) = 2271ea1d6542301b520289b3691cc50f10168c75682f611a1fece0ec0f07b5a3
-SIZE (Perl-Metrics-Simple-0.18.tar.gz) = 38966
+TIMESTAMP = 1650229058
+SHA256 (Perl-Metrics-Simple-0.19.tar.gz) = 4a98d7f397c9848df6bce73281b599cbd5626141035e97085f61a3067f3dfb83
+SIZE (Perl-Metrics-Simple-0.19.tar.gz) = 41381
diff --git a/devel/p5-Perl-Metrics-Simple/files/patch-File.pm b/devel/p5-Perl-Metrics-Simple/files/patch-File.pm
index 7f0d6465dbcf..49a48f15b78b 100644
--- a/devel/p5-Perl-Metrics-Simple/files/patch-File.pm
+++ b/devel/p5-Perl-Metrics-Simple/files/patch-File.pm
@@ -1,8 +1,8 @@
 Obtained from http://perl-users.jp/articles/advent-calendar/2011/test/11
 
---- ./lib/Perl/Metrics/Simple/Analysis/File.pm.orig	2011-12-31 17:19:26.800034766 +0900
-+++ ./lib/Perl/Metrics/Simple/Analysis/File.pm	2011-12-31 17:20:16.967169838 +0900
-@@ -327,6 +327,7 @@
+--- lib/Perl/Metrics/Simple/Analysis/File.pm.orig	2021-03-21 15:14:01 UTC
++++ lib/Perl/Metrics/Simple/Analysis/File.pm
+@@ -340,6 +340,7 @@ sub _iterate_over_subs {
              name              => $sub->name,
              lines             => $sub_length,
              mccabe_complexity => $self->measure_complexity($sub),
diff --git a/devel/p5-Perl-Metrics-Simple/files/patch-TestData.pm b/devel/p5-Perl-Metrics-Simple/files/patch-TestData.pm
index 2de3a35d2e49..780a9a7a02db 100644
--- a/devel/p5-Perl-Metrics-Simple/files/patch-TestData.pm
+++ b/devel/p5-Perl-Metrics-Simple/files/patch-TestData.pm
@@ -1,6 +1,6 @@
---- t/lib/Perl/Metrics/Simple/TestData.pm.orig	2012-04-22 22:39:58.229109428 +0900
-+++ t/lib/Perl/Metrics/Simple/TestData.pm	2012-04-22 22:41:19.361852783 +0900
-@@ -127,12 +127,14 @@
+--- t/lib/Perl/Metrics/Simple/TestData.pm.orig	2021-03-21 15:14:01 UTC
++++ t/lib/Perl/Metrics/Simple/TestData.pm
+@@ -121,12 +121,14 @@ sub make_test_data {
                      name              => 'foo',
                      lines             => 1,
                      mccabe_complexity => 1,
@@ -15,7 +15,7 @@
                      path              => "$test_directory/subs_no_package.pl",
                  }
              ],
-@@ -152,18 +154,21 @@
+@@ -146,18 +148,21 @@ sub make_test_data {
                      name              => 'new',
                      lines             => 5,
                      mccabe_complexity => 1,
diff --git a/devel/p5-Perl-Metrics-Simple/pkg-plist b/devel/p5-Perl-Metrics-Simple/pkg-plist
index 1a5408251231..808619bda627 100644
--- a/devel/p5-Perl-Metrics-Simple/pkg-plist
+++ b/devel/p5-Perl-Metrics-Simple/pkg-plist
@@ -1,8 +1,15 @@
 bin/countperl
+%%SITE_PERL%%/Perl/Metrics/Simple.pm
+%%SITE_PERL%%/Perl/Metrics/Simple/Analysis.pm
+%%SITE_PERL%%/Perl/Metrics/Simple/Analysis/File.pm
+%%SITE_PERL%%/Perl/Metrics/Simple/Output.pm
+%%SITE_PERL%%/Perl/Metrics/Simple/Output/HTML.pm
+%%SITE_PERL%%/Perl/Metrics/Simple/Output/JSON.pm
+%%SITE_PERL%%/Perl/Metrics/Simple/Output/PlainText.pm
 %%PERL5_MAN1%%/countperl.1.gz
 %%PERL5_MAN3%%/Perl::Metrics::Simple.3.gz
 %%PERL5_MAN3%%/Perl::Metrics::Simple::Analysis.3.gz
 %%PERL5_MAN3%%/Perl::Metrics::Simple::Analysis::File.3.gz
-%%SITE_PERL%%/Perl/Metrics/Simple.pm
-%%SITE_PERL%%/Perl/Metrics/Simple/Analysis.pm
-%%SITE_PERL%%/Perl/Metrics/Simple/Analysis/File.pm
+%%PERL5_MAN3%%/Perl::Metrics::Simple::Output.3.gz
+%%PERL5_MAN3%%/Perl::Metrics::Simple::Output::HTML.3.gz
+%%PERL5_MAN3%%/Perl::Metrics::Simple::Output::PlainText.3.gz