git: aed7a62204bb - main - devel/p5-Test-Mock-One: Add p5-Test-Mock-One 0.011
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 18:50:27 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=aed7a62204bbbb62a6247a9c2cf9a10b3a03ff0d commit aed7a62204bbbb62a6247a9c2cf9a10b3a03ff0d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-08-31 18:06:19 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-08-31 18:49:26 +0000 devel/p5-Test-Mock-One: Add p5-Test-Mock-One 0.011 Test::Mock::One is able to mock many things with little code by using AUTOLOAD. The problem this module tries to solve is to allow testing many things without having to write many lines of code. WWW: https://metacpan.org/dist/Test-Mock-One --- devel/Makefile | 1 + devel/p5-Test-Mock-One/Makefile | 18 ++++++++++++++++++ devel/p5-Test-Mock-One/distinfo | 3 +++ devel/p5-Test-Mock-One/pkg-descr | 6 ++++++ devel/p5-Test-Mock-One/pkg-plist | 4 ++++ 5 files changed, 32 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 173fede75a13..3069ad0cdab5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3455,6 +3455,7 @@ SUBDIR += p5-Test-Mock-Guard SUBDIR += p5-Test-Mock-LWP SUBDIR += p5-Test-Mock-LWP-Dispatch + SUBDIR += p5-Test-Mock-One SUBDIR += p5-Test-Mock-Redis SUBDIR += p5-Test-MockDateTime SUBDIR += p5-Test-MockModule diff --git a/devel/p5-Test-Mock-One/Makefile b/devel/p5-Test-Mock-One/Makefile new file mode 100644 index 000000000000..b11acd51db2e --- /dev/null +++ b/devel/p5-Test-Mock-One/Makefile @@ -0,0 +1,18 @@ +PORTNAME= Test-Mock-One +PORTVERSION= 0.011 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Mock the world with one object + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-Test-Mock-One/distinfo b/devel/p5-Test-Mock-One/distinfo new file mode 100644 index 000000000000..534c056bd2fb --- /dev/null +++ b/devel/p5-Test-Mock-One/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1661950800 +SHA256 (Test-Mock-One-0.011.tar.gz) = 42b0b084ceb2a3a09544f03412ce0f7b15d35a9e8e782bd71a3f949272a84e2e +SIZE (Test-Mock-One-0.011.tar.gz) = 12345 diff --git a/devel/p5-Test-Mock-One/pkg-descr b/devel/p5-Test-Mock-One/pkg-descr new file mode 100644 index 000000000000..bd732abee521 --- /dev/null +++ b/devel/p5-Test-Mock-One/pkg-descr @@ -0,0 +1,6 @@ +Test::Mock::One is able to mock many things with little code by using AUTOLOAD. + +The problem this module tries to solve is to allow testing many things without +having to write many lines of code. + +WWW: https://metacpan.org/dist/Test-Mock-One diff --git a/devel/p5-Test-Mock-One/pkg-plist b/devel/p5-Test-Mock-One/pkg-plist new file mode 100644 index 000000000000..49bc95c5111f --- /dev/null +++ b/devel/p5-Test-Mock-One/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/Test/Mock/One.pm +%%SITE_PERL%%/Test/Mock/Two.pm +%%PERL5_MAN3%%/Test::Mock::One.3.gz +%%PERL5_MAN3%%/Test::Mock::Two.3.gz