From owner-dev-commits-ports-all@freebsd.org Sat May 22 14:47:25 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E136764EEF7; Sat, 22 May 2021 14:47:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FnRCK60RBz4fYV; Sat, 22 May 2021 14:47:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B02D02640B; Sat, 22 May 2021 14:47:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14MElP2o011777; Sat, 22 May 2021 14:47:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14MElP2u011776; Sat, 22 May 2021 14:47:25 GMT (envelope-from git) Date: Sat, 22 May 2021 14:47:25 GMT Message-Id: <202105221447.14MElP2u011776@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2e829b49cbf1 - main - devel/p5-Test-MockTime-HiRes: Add p5-Test-MockTime-HiRes 0.08 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2e829b49cbf17cff15667d84bcc10200768b9d33 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2021 14:47:26 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e829b49cbf17cff15667d84bcc10200768b9d33 commit 2e829b49cbf17cff15667d84bcc10200768b9d33 Author: Po-Chuan Hsieh AuthorDate: 2021-05-22 14:42:06 +0000 Commit: Po-Chuan Hsieh 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 +# $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 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