aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-07-25 00:53:31 +0800
committerpi <pi@FreeBSD.org>2016-07-25 00:53:31 +0800
commit3781cc782ec921c9d288ff3b06fbddedd4e4fa96 (patch)
tree15d91a6004691f2c6e80c6a3e38c28fdc151444a /devel
parent45d293cd082b175df58b3cf725a6fd170a53d05c (diff)
downloadfreebsd-ports-gnome-3781cc782ec921c9d288ff3b06fbddedd4e4fa96.tar.gz
freebsd-ports-gnome-3781cc782ec921c9d288ff3b06fbddedd4e4fa96.tar.zst
freebsd-ports-gnome-3781cc782ec921c9d288ff3b06fbddedd4e4fa96.zip
New port: devel/p5-Test-Roo
This module allows you to compose Test::More tests from roles. It is inspired by the excellent Test::Routine module, but uses Moo instead of Moose. This gives most of the benefits without the need for Moose as a test dependency. WWW: http://search.cpan.org/dist/Test-Roo/ PR: 211337 Submitted by: Henk van Oers <hvo.pm@xs4all.nl>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Test-Roo/Makefile21
-rw-r--r--devel/p5-Test-Roo/distinfo3
-rw-r--r--devel/p5-Test-Roo/pkg-descr7
-rw-r--r--devel/p5-Test-Roo/pkg-plist8
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 00f92dddfa84..497c337beb6c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3294,6 +3294,7 @@
SUBDIR += p5-Test-Requires
SUBDIR += p5-Test-Requires-Git
SUBDIR += p5-Test-RequiresInternet
+ SUBDIR += p5-Test-Roo
SUBDIR += p5-Test-Script
SUBDIR += p5-Test-Script-Run
SUBDIR += p5-Test-SharedFork
diff --git a/devel/p5-Test-Roo/Makefile b/devel/p5-Test-Roo/Makefile
new file mode 100644
index 000000000000..33fa78cf1407
--- /dev/null
+++ b/devel/p5-Test-Roo/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= Test-Roo
+PORTVERSION= 1.004
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= hvo.pm@xs4all.nl
+COMMENT= Composable, reusable tests with roles and Moo
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= p5-Moo>=0:devel/p5-Moo
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+NO_ARCH= yes
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Test-Roo/distinfo b/devel/p5-Test-Roo/distinfo
new file mode 100644
index 000000000000..7b5b6180d084
--- /dev/null
+++ b/devel/p5-Test-Roo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1469366683
+SHA256 (Test-Roo-1.004.tar.gz) = 21129a3cecb507b00948e16cf15fcde5dc4db235aba84afd7f47d22013a9ded6
+SIZE (Test-Roo-1.004.tar.gz) = 29662
diff --git a/devel/p5-Test-Roo/pkg-descr b/devel/p5-Test-Roo/pkg-descr
new file mode 100644
index 000000000000..7b314d62283c
--- /dev/null
+++ b/devel/p5-Test-Roo/pkg-descr
@@ -0,0 +1,7 @@
+This module allows you to compose Test::More tests from roles.
+It is inspired by the excellent Test::Routine module,
+but uses Moo instead of Moose.
+This gives most of the benefits
+without the need for Moose as a test dependency.
+
+WWW: http://search.cpan.org/dist/Test-Roo/
diff --git a/devel/p5-Test-Roo/pkg-plist b/devel/p5-Test-Roo/pkg-plist
new file mode 100644
index 000000000000..ce4002fcdb05
--- /dev/null
+++ b/devel/p5-Test-Roo/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Test/Roo.pm
+%%SITE_PERL%%/Test/Roo/Class.pm
+%%SITE_PERL%%/Test/Roo/Cookbook.pm
+%%SITE_PERL%%/Test/Roo/Role.pm
+%%PERL5_MAN3%%/Test::Roo.3.gz
+%%PERL5_MAN3%%/Test::Roo::Class.3.gz
+%%PERL5_MAN3%%/Test::Roo::Cookbook.3.gz
+%%PERL5_MAN3%%/Test::Roo::Role.3.gz