diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-05-22 14:42:06 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-05-22 14:42:06 +0000 |
commit | 2e829b49cbf17cff15667d84bcc10200768b9d33 (patch) | |
tree | 8e25bc04c1d7e11cacb0fc82fa7e0b20bc576ea3 /devel | |
parent | 676a090dbe3a7623ab6d7f836e133cbf5b7a1a24 (diff) | |
download | ports-2e829b49cbf17cff15667d84bcc10200768b9d33.tar.gz ports-2e829b49cbf17cff15667d84bcc10200768b9d33.zip |
devel/p5-Test-MockTime-HiRes: Add p5-Test-MockTime-HiRes 0.08
Test::MockTime::HiRes is a Time::HiRes compatible version of Test::MockTime. You
can wait milliseconds in simulated time.
It also provides mock_time to restrict the effect of the simulation in a code
block.
WWW: https://metacpan.org/release/Test-MockTime-HiRes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Test-MockTime-HiRes/Makefile | 27 | ||||
-rw-r--r-- | devel/p5-Test-MockTime-HiRes/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Test-MockTime-HiRes/pkg-descr | 7 | ||||
-rw-r--r-- | devel/p5-Test-MockTime-HiRes/pkg-plist | 2 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 290786b35872..dea35c0e8b78 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3426,6 +3426,7 @@ SUBDIR += p5-Test-MockObject SUBDIR += p5-Test-MockRandom SUBDIR += p5-Test-MockTime + SUBDIR += p5-Test-MockTime-HiRes SUBDIR += p5-Test-Modern SUBDIR += p5-Test-Module-Used SUBDIR += p5-Test-Moose-More diff --git a/devel/p5-Test-MockTime-HiRes/Makefile b/devel/p5-Test-MockTime-HiRes/Makefile new file mode 100644 index 000000000000..6600062c69e1 --- /dev/null +++ b/devel/p5-Test-MockTime-HiRes/Makefile @@ -0,0 +1,27 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Test-MockTime-HiRes +PORTVERSION= 0.08 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Replaces actual time with simulated high resolution time + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Test-MockTime>=0:devel/p5-Test-MockTime +TEST_DEPENDS= p5-Test-Class>=0:devel/p5-Test-Class \ + p5-Test-Requires>=0:devel/p5-Test-Requires + +USES= perl5 +USE_PERL5= modbuildtiny + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-Test-MockTime-HiRes/distinfo b/devel/p5-Test-MockTime-HiRes/distinfo new file mode 100644 index 000000000000..667437b4f8b3 --- /dev/null +++ b/devel/p5-Test-MockTime-HiRes/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1621183170 +SHA256 (Test-MockTime-HiRes-0.08.tar.gz) = 5f49f7aef895d327dafdf2744f39c176c8ab0e4b8227d2d6e3de689a259bdec1 +SIZE (Test-MockTime-HiRes-0.08.tar.gz) = 11191 diff --git a/devel/p5-Test-MockTime-HiRes/pkg-descr b/devel/p5-Test-MockTime-HiRes/pkg-descr new file mode 100644 index 000000000000..c26baa8e6054 --- /dev/null +++ b/devel/p5-Test-MockTime-HiRes/pkg-descr @@ -0,0 +1,7 @@ +Test::MockTime::HiRes is a Time::HiRes compatible version of Test::MockTime. You +can wait milliseconds in simulated time. + +It also provides mock_time to restrict the effect of the simulation in a code +block. + +WWW: https://metacpan.org/release/Test-MockTime-HiRes diff --git a/devel/p5-Test-MockTime-HiRes/pkg-plist b/devel/p5-Test-MockTime-HiRes/pkg-plist new file mode 100644 index 000000000000..54cb83971088 --- /dev/null +++ b/devel/p5-Test-MockTime-HiRes/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Test/MockTime/HiRes.pm +%%PERL5_MAN3%%/Test::MockTime::HiRes.3.gz |