diff options
author | wen <wen@pkgsrc.org> | 2021-10-10 01:12:15 +0000 |
---|---|---|
committer | wen <wen@pkgsrc.org> | 2021-10-10 01:12:15 +0000 |
commit | 61a6785df1934099862ca6731323efd774af60d6 (patch) | |
tree | 1e2ff9e14c46185bd5e6a819938f022ad376f80e /devel | |
parent | d1c3cf42103b186161c741f893b70b16062f465b (diff) | |
download | pkgsrc-61a6785df1934099862ca6731323efd774af60d6.tar.gz |
Import Test-Snapshot-0.06 as devel/p5-Test-Snapshot.
Test::Snapshot implements a function to automate the storing and updating of
expected test outputs. This is based on the idea known in frontend development
circles as "snapshot testing", hence the module name.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Test-Snapshot/DESCR | 3 | ||||
-rw-r--r-- | devel/p5-Test-Snapshot/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-Test-Snapshot/distinfo | 5 |
3 files changed, 29 insertions, 0 deletions
diff --git a/devel/p5-Test-Snapshot/DESCR b/devel/p5-Test-Snapshot/DESCR new file mode 100644 index 00000000000..a57031df66a --- /dev/null +++ b/devel/p5-Test-Snapshot/DESCR @@ -0,0 +1,3 @@ +Test::Snapshot implements a function to automate the storing and updating of +expected test outputs. This is based on the idea known in frontend development +circles as "snapshot testing", hence the module name. diff --git a/devel/p5-Test-Snapshot/Makefile b/devel/p5-Test-Snapshot/Makefile new file mode 100644 index 00000000000..61d9fb4d7f6 --- /dev/null +++ b/devel/p5-Test-Snapshot/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2021/10/10 01:12:15 wen Exp $ + +DISTNAME= Test-Snapshot-0.06 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} + +MAINTAINER= wen@NetBSD.org +HOMEPAGE= https://metacpan.org/release/Test-Snapshot +COMMENT= Test against data stored in automatically-named file +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Text-Diff>=0:../../textproc/p5-Text-Diff + +TEST_DEPENDS+= p5-Capture-Tiny>=0:../../devel/p5-Capture-Tiny + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Test/Snapshot/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Test-Snapshot/distinfo b/devel/p5-Test-Snapshot/distinfo new file mode 100644 index 00000000000..a320b9d1271 --- /dev/null +++ b/devel/p5-Test-Snapshot/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2021/10/10 01:12:15 wen Exp $ + +RMD160 (Test-Snapshot-0.06.tar.gz) = 3c2ccf1b530a8ea0aacb001c30daecdf12ae8150 +SHA512 (Test-Snapshot-0.06.tar.gz) = e3a667672fd094ffe12c894aea011849e2147dacc6731c546a117d1da55ff86c082aec03c03cc5174ce8329a18ce202d8a4441f935d7f0124a293478a03b6dac +Size (Test-Snapshot-0.06.tar.gz) = 7764 bytes |