diff options
-rw-r--r-- | time/p5-Test-MockTime/DESCR | 5 | ||||
-rw-r--r-- | time/p5-Test-MockTime/Makefile | 19 | ||||
-rw-r--r-- | time/p5-Test-MockTime/distinfo | 5 |
3 files changed, 29 insertions, 0 deletions
diff --git a/time/p5-Test-MockTime/DESCR b/time/p5-Test-MockTime/DESCR new file mode 100644 index 00000000000..991f782d357 --- /dev/null +++ b/time/p5-Test-MockTime/DESCR @@ -0,0 +1,5 @@ +This module was created to enable test suites to test code at specific +points in time. Specifically it overrides localtime, gmtime and time at +compile time and then relies on the user supplying a mock time via +set_relative_time, set_absolute_time or set_fixed_time to alter future +calls to gmtime,time or localtime. diff --git a/time/p5-Test-MockTime/Makefile b/time/p5-Test-MockTime/Makefile new file mode 100644 index 00000000000..c01f284d3d2 --- /dev/null +++ b/time/p5-Test-MockTime/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/05/02 21:19:46 sno Exp $ + +DISTNAME= Test-MockTime-0.12 +PKGNAME= p5-${DISTNAME} +CATEGORIES= time perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/perldoc?Test::MockTime +COMMENT= Replaces actual time with simulated time +LICENSE= gnu-gpl-v2 # OR artistic + +USE_LANGUAGES= c # installs C module +PERL5_PACKLIST= auto/Test/MockTime/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/time/p5-Test-MockTime/distinfo b/time/p5-Test-MockTime/distinfo new file mode 100644 index 00000000000..9be9461c28c --- /dev/null +++ b/time/p5-Test-MockTime/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/05/02 21:19:46 sno Exp $ + +SHA1 (Test-MockTime-0.12.tar.gz) = b01738ff218fc46754a23381eb3bff9681d8400a +RMD160 (Test-MockTime-0.12.tar.gz) = 40a9e55e41fdc23401cbed287ced81572e6ee4cf +Size (Test-MockTime-0.12.tar.gz) = 4431 bytes |