pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Test2-Plugin-Cover



Module Name:    pkgsrc
Committed By:   wen
Date:           Sun Sep 27 12:59:08 UTC 2026

Added Files:
        pkgsrc/devel/p5-Test2-Plugin-Cover: DESCR Makefile distinfo

Log Message:
Import Test2::Plugin::Cover-0.000030 as devel/p5-Test2-Plugin-Cover

Test2::Plugin::Cover will collect minimal file coverage info, and will do so
with minimal performance impact.

Every time a subroutine is called this tool will do its best to find the
filename the subroutine was defined in, and add it to a list. Also, anytime you
attempt to open a file with open() or sysopen() the file will be added to the
list. This list will be attached to a test2 event just before the test exits. In
most formaters the event will only show up as a comment on STDOUT # This test
covered N source files. . However tools such as Test2::Harness::UI can make full
use of the coverage information contained in the event.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Test2-Plugin-Cover/DESCR \
    pkgsrc/devel/p5-Test2-Plugin-Cover/Makefile \
    pkgsrc/devel/p5-Test2-Plugin-Cover/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Test2-Plugin-Cover/DESCR
diff -u /dev/null pkgsrc/devel/p5-Test2-Plugin-Cover/DESCR:1.1
--- /dev/null   Sun Sep 27 12:59:08 2026
+++ pkgsrc/devel/p5-Test2-Plugin-Cover/DESCR    Sun Sep 27 12:59:08 2026
@@ -0,0 +1,10 @@
+Test2::Plugin::Cover will collect minimal file coverage info, and will do so
+with minimal performance impact.
+
+Every time a subroutine is called this tool will do its best to find the
+filename the subroutine was defined in, and add it to a list. Also, anytime you
+attempt to open a file with open() or sysopen() the file will be added to the
+list. This list will be attached to a test2 event just before the test exits. In
+most formaters the event will only show up as a comment on STDOUT # This test
+covered N source files. . However tools such as Test2::Harness::UI can make full
+use of the coverage information contained in the event.
Index: pkgsrc/devel/p5-Test2-Plugin-Cover/Makefile
diff -u /dev/null pkgsrc/devel/p5-Test2-Plugin-Cover/Makefile:1.1
--- /dev/null   Sun Sep 27 12:59:08 2026
+++ pkgsrc/devel/p5-Test2-Plugin-Cover/Makefile Sun Sep 27 12:59:08 2026
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2026/09/27 12:59:08 wen Exp $
+
+DISTNAME=              Test2-Plugin-Cover-0.000030
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=../../authors/id/E/EX/EXODIST/}
+
+MAINTAINER=            wen%NetBSD.org@localhost
+HOMEPAGE=              https://metacpan.org/release/Test2-Plugin-Cover
+COMMENT=               Fast and Minimal file coverage info
+LICENSE=               ${PERL5_LICENSE}
+
+DEPENDS+=              p5-Path-Tiny>=0.048:../../filesystems/p5-Path-Tiny
+
+PERL5_PACKLIST=                auto/Test2/Plugin/Cover/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Test2-Plugin-Cover/distinfo
diff -u /dev/null pkgsrc/devel/p5-Test2-Plugin-Cover/distinfo:1.1
--- /dev/null   Sun Sep 27 12:59:08 2026
+++ pkgsrc/devel/p5-Test2-Plugin-Cover/distinfo Sun Sep 27 12:59:08 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/09/27 12:59:08 wen Exp $
+
+BLAKE2s (Test2-Plugin-Cover-0.000030.tar.gz) = 613335c375668cdf912258ee566413e862dc7c803415520cd1b5bea652198b70
+SHA512 (Test2-Plugin-Cover-0.000030.tar.gz) = 8b99ba4b14461308384d573cc2d78bf55ba5bb92102823dccebdc1416b8a249e82d6648bb2f222ede6b9017112f4352a30124ab1a35526c2bb9dfd7c7c7cc8d5
+Size (Test2-Plugin-Cover-0.000030.tar.gz) = 46466 bytes



Home | Main Index | Thread Index | Old Index