BSD Ports

devel/p5-Test-Time 0.092 FreeBSD

Perl extension to override time()/sleep() core functions for testing

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
10.2 KiB, 39.8 KiB installed

Description

Test::Time can be used to test modules that deal with time. Once you use this module, all references to time and sleep will be internalized. You can set custom time by passing time => number after the use statement.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Test-Time0.092
OpenBSDdevel/p5-Test-Time0.092
NetBSDtime/p5-Test-Time0.092nb4
DragonFlydevel/p5-Test-Time0.092
MidnightBSDdevel/p5-Test-Time0.092
HardenedBSDdevel/p5-Test-Time0.092
GhostBSDdevel/p5-Test-Time0.092

Install

Binary package:

pkg install p5-Test-Time

From the ports tree:

cd /usr/ports/devel/p5-Test-Time/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Test-Time>0:devel/p5-Test-Time

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0920.0920.0920.0920.092
FreeBSD:14:quarterly0.0920.092n/a0.0920.092
FreeBSD:15:latest0.0920.092n/a0.0920.092
FreeBSD:15:quarterly0.0920.092n/an/an/a
FreeBSD:16:latest0.0920.092n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Test/Time.pm
  • %%PERL5_MAN3%%/Test::Time.3.gz
distinfo 1
FileSizeSHA256
Test-Time-0.092.tar.gz5420930d90f54ce840893c7ba2cac2a4d1eecd4c9cdf805910c595e3ae89dfd644738
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.