Date: Sat, 22 May 2021 14:47:25 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2e829b49cbf1 - main - devel/p5-Test-MockTime-HiRes: Add p5-Test-MockTime-HiRes 0.08 Message-ID: <202105221447.14MElP2u011776@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e829b49cbf17cff15667d84bcc10200768b9d33 commit 2e829b49cbf17cff15667d84bcc10200768b9d33 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-05-22 14:42:06 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-05-22 14:42:06 +0000 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 --- devel/Makefile | 1 + devel/p5-Test-MockTime-HiRes/Makefile | 27 +++++++++++++++++++++++++++ devel/p5-Test-MockTime-HiRes/distinfo | 3 +++ devel/p5-Test-MockTime-HiRes/pkg-descr | 7 +++++++ devel/p5-Test-MockTime-HiRes/pkg-plist | 2 ++ 5 files changed, 40 insertions(+) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105221447.14MElP2u011776>