diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-08-27 10:10:10 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-08-27 10:10:10 +0000 |
commit | f101560ae9bdc5a32dac66ead540617d30caad5b (patch) | |
tree | 2c2cff28ccde2897323792f0feb757841a33cb7f | |
parent | 923abd142a40df449eec6cda7bdcc7d6f148fe46 (diff) | |
download | ports-f101560ae9bdc5a32dac66ead540617d30caad5b.tar.gz ports-f101560ae9bdc5a32dac66ead540617d30caad5b.zip |
devel/p5-Test-Lib: Add p5-Test-Lib 0.003
Test::Lib searches upward from the calling module for a directory t with a lib
directory inside it, and adds it to the module search path. Looks upward up to 5
directories. This is intended to be used in test modules either directly in t or
in a subdirectory to find their included testing libraries located in t/lib.
WWW: https://metacpan.org/dist/Test-Lib
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Test-Lib/Makefile | 19 | ||||
-rw-r--r-- | devel/p5-Test-Lib/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Test-Lib/pkg-descr | 6 | ||||
-rw-r--r-- | devel/p5-Test-Lib/pkg-plist | 2 |
5 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 820ce57719dd..7922f5874a32 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3440,6 +3440,7 @@ SUBDIR += p5-Test-Lazy SUBDIR += p5-Test-LeakTrace SUBDIR += p5-Test-LectroTest + SUBDIR += p5-Test-Lib SUBDIR += p5-Test-LoadAllModules SUBDIR += p5-Test-Log-Log4perl SUBDIR += p5-Test-Log4perl diff --git a/devel/p5-Test-Lib/Makefile b/devel/p5-Test-Lib/Makefile new file mode 100644 index 000000000000..53008d207fda --- /dev/null +++ b/devel/p5-Test-Lib/Makefile @@ -0,0 +1,19 @@ +PORTNAME= Test-Lib +PORTVERSION= 0.003 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Use libraries from a t/lib directory + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-Test-Lib/distinfo b/devel/p5-Test-Lib/distinfo new file mode 100644 index 000000000000..951f32046388 --- /dev/null +++ b/devel/p5-Test-Lib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660576668 +SHA256 (Test-Lib-0.003.tar.gz) = d84b48d92567cba3d0afb1e8175aab836bfa8a838e19ac9080cabc2e3f9dc9f5 +SIZE (Test-Lib-0.003.tar.gz) = 10518 diff --git a/devel/p5-Test-Lib/pkg-descr b/devel/p5-Test-Lib/pkg-descr new file mode 100644 index 000000000000..2b79114fcac5 --- /dev/null +++ b/devel/p5-Test-Lib/pkg-descr @@ -0,0 +1,6 @@ +Test::Lib searches upward from the calling module for a directory t with a lib +directory inside it, and adds it to the module search path. Looks upward up to 5 +directories. This is intended to be used in test modules either directly in t or +in a subdirectory to find their included testing libraries located in t/lib. + +WWW: https://metacpan.org/dist/Test-Lib diff --git a/devel/p5-Test-Lib/pkg-plist b/devel/p5-Test-Lib/pkg-plist new file mode 100644 index 000000000000..12d365134ae1 --- /dev/null +++ b/devel/p5-Test-Lib/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Test/Lib.pm +%%PERL5_MAN3%%/Test::Lib.3.gz |