mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
- 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/
This commit is contained in:
parent
0ec4609021
commit
f1b2886ea2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313792
5 changed files with 33 additions and 0 deletions
|
@ -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
|
||||
|
|
21
devel/p5-Time-Mock/Makefile
Normal file
21
devel/p5-Time-Mock/Makefile
Normal file
|
@ -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>
|
2
devel/p5-Time-Mock/distinfo
Normal file
2
devel/p5-Time-Mock/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Time-Mock-v0.0.2.tar.gz) = 9bd2f7436bd2bdd9b947d70939c62c425801cae3a4321cb864a8a2f4d1f3982f
|
||||
SIZE (Time-Mock-v0.0.2.tar.gz) = 5139
|
7
devel/p5-Time-Mock/pkg-descr
Normal file
7
devel/p5-Time-Mock/pkg-descr
Normal file
|
@ -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/
|
2
devel/p5-Time-Mock/pkg-plist
Normal file
2
devel/p5-Time-Mock/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
%%SITE_PERL%%/Time/Mock.pm
|
||||
@dirrmtry %%SITE_PERL%%/Time
|
Loading…
Add table
Reference in a new issue