summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwen <wen@pkgsrc.org>2015-10-07 14:26:42 +0000
committerwen <wen@pkgsrc.org>2015-10-07 14:26:42 +0000
commitd373d5a46b0ffdad7bfa0438d11b3f466c2a3e74 (patch)
tree8100734b51549f31d008e98ca186ad6821c1e9d9 /devel
parenta023a675bcbdf292be163dc3784677d548582207 (diff)
downloadpkgsrc-d373d5a46b0ffdad7bfa0438d11b3f466c2a3e74.tar.gz
Import Test-Modern-0.013 as devel/p5-Test-Modern.
Test::Modern provides the best features of Test::More, Test::Fatal, Test::Warnings, Test::API, Test::LongString, and Test::Deep, as well as ideas from Test::Requires, Test::DescribeMe, Test::Moose, and Test::CleanNamespaces. Test::Modern also automatically imposes strict and warnings on your script, and loads IO::File. (Much of the same stuff Modern::Perl does.) Although Test::Modern is a modern testing framework, it should run fine on pre-modern versions of Perl. It should be easy to install on Perl 5.8.9 and above; and if you can persuade its dependencies to install (not necessarily easy!), should be OK on anything back to Perl 5.6.1.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Test-Modern/DESCR12
-rw-r--r--devel/p5-Test-Modern/Makefile26
-rw-r--r--devel/p5-Test-Modern/distinfo5
3 files changed, 43 insertions, 0 deletions
diff --git a/devel/p5-Test-Modern/DESCR b/devel/p5-Test-Modern/DESCR
new file mode 100644
index 00000000000..13d064073ca
--- /dev/null
+++ b/devel/p5-Test-Modern/DESCR
@@ -0,0 +1,12 @@
+Test::Modern provides the best features of Test::More, Test::Fatal,
+Test::Warnings, Test::API, Test::LongString, and Test::Deep, as well as
+ideas from Test::Requires, Test::DescribeMe, Test::Moose, and
+Test::CleanNamespaces.
+
+Test::Modern also automatically imposes strict and warnings on your script,
+and loads IO::File. (Much of the same stuff Modern::Perl does.)
+
+Although Test::Modern is a modern testing framework, it should run fine on
+pre-modern versions of Perl. It should be easy to install on Perl 5.8.9 and
+above; and if you can persuade its dependencies to install (not necessarily
+easy!), should be OK on anything back to Perl 5.6.1.
diff --git a/devel/p5-Test-Modern/Makefile b/devel/p5-Test-Modern/Makefile
new file mode 100644
index 00000000000..1091e00557f
--- /dev/null
+++ b/devel/p5-Test-Modern/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2015/10/07 14:26:42 wen Exp $
+
+DISTNAME= Test-Modern-0.013
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Test-Modern/
+COMMENT= Precision testing for modern perl
+LICENSE= ${PERL5_LICENSE}
+
+BUILD_DEPENDS+= p5-Test-API>=0.004:../../devel/p5-Test-API
+BUILD_DEPENDS+= p5-Test-Deep>=0.111:../../devel/p5-Test-Deep
+BUILD_DEPENDS+= p5-Test-Fatal>0.007:../../devel/p5-Test-Fatal
+BUILD_DEPENDS+= p5-Test-Warnings>0.009:../../devel/p5-Test-Warnings
+
+DEPENDS+= p5-Module-Runtime>=0.012:../../devel/p5-Module-Runtime
+DEPENDS+= p5-Exporter-Tiny>=0.030:../../devel/p5-Exporter-Tiny
+DEPENDS+= p5-Import-Into>=1.002000:../../devel/p5-Import-Into
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Test/Modern/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Test-Modern/distinfo b/devel/p5-Test-Modern/distinfo
new file mode 100644
index 00000000000..94b6ca99fcb
--- /dev/null
+++ b/devel/p5-Test-Modern/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/10/07 14:26:42 wen Exp $
+
+SHA1 (Test-Modern-0.013.tar.gz) = 444aea6a88844b7c6ddc8a85c6f48c64ceaad358
+RMD160 (Test-Modern-0.013.tar.gz) = bc6f045b8c2f8875de3371df6e39e8826becbdb9
+Size (Test-Modern-0.013.tar.gz) = 38747 bytes