svn commit: r382908 - in head/devel: . p5-Test-Modern
Muhammad Moinur Rahman
bofh at FreeBSD.org
Wed Apr 1 12:19:40 UTC 2015
Author: bofh
Date: Wed Apr 1 12:19:37 2015
New Revision: 382908
URL: https://svnweb.freebsd.org/changeset/ports/382908
QAT: https://qat.redports.org/buildarchive/r382908/
Log:
[NEW] devel/p5-Test-Modern: Precision testing for modern perl
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.
WWW: http://search.cpan.org/dist/Test-Modern/
Added:
head/devel/p5-Test-Modern/
head/devel/p5-Test-Modern/Makefile (contents, props changed)
head/devel/p5-Test-Modern/distinfo (contents, props changed)
head/devel/p5-Test-Modern/pkg-descr (contents, props changed)
head/devel/p5-Test-Modern/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Apr 1 12:00:15 2015 (r382907)
+++ head/devel/Makefile Wed Apr 1 12:19:37 2015 (r382908)
@@ -3024,6 +3024,7 @@
SUBDIR += p5-Test-MockObject
SUBDIR += p5-Test-MockRandom
SUBDIR += p5-Test-MockTime
+ SUBDIR += p5-Test-Modern
SUBDIR += p5-Test-Module-Used
SUBDIR += p5-Test-Moose-More
SUBDIR += p5-Test-More-UTF8
Added: head/devel/p5-Test-Modern/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Test-Modern/Makefile Wed Apr 1 12:19:37 2015 (r382908)
@@ -0,0 +1,33 @@
+# Created by: Muhammad Moinur Rahman <bofh at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Test-Modern
+PORTVERSION= 0.013
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:TOBYINK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bofh at FreeBSD.org
+COMMENT= Precision testing for modern perl
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Exporter-Tiny>=0:${PORTSDIR}/devel/p5-Exporter-Tiny \
+ p5-Import-Into>=1:${PORTSDIR}/devel/p5-Import-Into \
+ p5-Module-Runtime>=0.012:${PORTSDIR}/devel/p5-Module-Runtime \
+ p5-Test-API>=0.004:${PORTSDIR}/devel/p5-Test-API \
+ p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
+ p5-Test-Fatal>0:${PORTSDIR}/devel/p5-Test-Fatal \
+ p5-Test-Warnings>0:${PORTSDIR}/devel/p5-Test-Warnings
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose
+
+USES= perl5
+USE_PERL5= configure
+
+test:
+ cd ${WRKSRC} && ${MAKE} test
+
+.include <bsd.port.mk>
Added: head/devel/p5-Test-Modern/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Test-Modern/distinfo Wed Apr 1 12:19:37 2015 (r382908)
@@ -0,0 +1,2 @@
+SHA256 (Test-Modern-0.013.tar.gz) = 63ebc04b761c5748a121006d0e2672a6836d39cfb9e0b42dda80c8161f7a1246
+SIZE (Test-Modern-0.013.tar.gz) = 38747
Added: head/devel/p5-Test-Modern/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Test-Modern/pkg-descr Wed Apr 1 12:19:37 2015 (r382908)
@@ -0,0 +1,13 @@
+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.
+
+WWW: http://search.cpan.org/dist/Test-Modern/
Added: head/devel/p5-Test-Modern/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Test-Modern/pkg-plist Wed Apr 1 12:19:37 2015 (r382908)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Test/Modern.pm
+%%PERL5_MAN3%%/Test::Modern.3.gz
More information about the svn-ports-all
mailing list