Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2013 02:53:11 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313792 - in head/devel: . p5-Time-Mock
Message-ID:  <201303100253.r2A2rBuH016804@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar 10 02:53:10 2013
New Revision: 313792
URL: http://svnweb.freebsd.org/changeset/ports/313792

Log:
  - Add p5-Time-Mock 0.0.2
  
  Time::Mock speeds up your sleep(), alarm(), and time() calls.
  
  Test::MockTime is nice, but doesn't allow you to accelerate the timestep and
  doesn't deal with Time::HiRes or give you any way to change the time across
  forks.
  
  WWW: http://search.cpan.org/dist/Time-Mock/

Added:
  head/devel/p5-Time-Mock/
  head/devel/p5-Time-Mock/Makefile   (contents, props changed)
  head/devel/p5-Time-Mock/distinfo   (contents, props changed)
  head/devel/p5-Time-Mock/pkg-descr   (contents, props changed)
  head/devel/p5-Time-Mock/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Mar 10 02:51:28 2013	(r313791)
+++ head/devel/Makefile	Sun Mar 10 02:53:10 2013	(r313792)
@@ -2873,6 +2873,7 @@
     SUBDIR += p5-Time-HiRes
     SUBDIR += p5-Time-Interval
     SUBDIR += p5-Time-Local
+    SUBDIR += p5-Time-Mock
     SUBDIR += p5-Time-Object
     SUBDIR += p5-Time-Out
     SUBDIR += p5-Time-Period

Added: head/devel/p5-Time-Mock/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Time-Mock/Makefile	Sun Mar 10 02:53:10 2013	(r313792)
@@ -0,0 +1,21 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Time-Mock
+PORTVERSION=	0.0.2
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+DISTNAME=	${PORTNAME}-v${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Shift and scale time
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+PERL_MODBUILD=	yes
+
+MAN3=		Time::Mock.3
+
+.include <bsd.port.mk>

Added: head/devel/p5-Time-Mock/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Time-Mock/distinfo	Sun Mar 10 02:53:10 2013	(r313792)
@@ -0,0 +1,2 @@
+SHA256 (Time-Mock-v0.0.2.tar.gz) = 9bd2f7436bd2bdd9b947d70939c62c425801cae3a4321cb864a8a2f4d1f3982f
+SIZE (Time-Mock-v0.0.2.tar.gz) = 5139

Added: head/devel/p5-Time-Mock/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Time-Mock/pkg-descr	Sun Mar 10 02:53:10 2013	(r313792)
@@ -0,0 +1,7 @@
+Time::Mock speeds up your sleep(), alarm(), and time() calls.
+
+Test::MockTime is nice, but doesn't allow you to accelerate the timestep and
+doesn't deal with Time::HiRes or give you any way to change the time across
+forks.
+
+WWW: http://search.cpan.org/dist/Time-Mock/

Added: head/devel/p5-Time-Mock/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Time-Mock/pkg-plist	Sun Mar 10 02:53:10 2013	(r313792)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Time/Mock.pm
+@dirrmtry %%SITE_PERL%%/Time



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303100253.r2A2rBuH016804>