BSD Ports

devel/p5-Time-Duration-Parse 0.16 FreeBSD

Parse string that represents time duration

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

Description

Time::Duration::Parse is a module to parse human readable duration strings like 2 minutes and 3 seconds to seconds.

It does the opposite of duration_exact function in Time::Duration and is roundtrip safe. So, the following is always true.

use Time::Duration::Parse; use Time::Duration;

my $seconds = int rand 100000; is( parse_duration(duration_exact($seconds)), $seconds );

In the other systems

The newest version among them is 0.16, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/p5-Time-Duration-Parse0.16 newestnone known-[email protected]-
OpenBSDdevel/p5-Time-Duration-Parse0.16 newestno data-Benoit Lecocq <[email protected]>-
NetBSDtime/p5-Time-Duration-Parse by name0.16nb5 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Time-Duration-Parse0.16 newestnone known-[email protected]-
MidnightBSDdevel/p5-Time-Duration-Parse0.16 newestno data-[email protected]-
HardenedBSDdevel/p5-Time-Duration-Parse0.16 newestno data-[email protected]-
GhostBSDdevel/p5-Time-Duration-Parse0.16 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Time-Duration-Parse

From the ports tree:

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

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

RUN_DEPENDS=	p5-Time-Duration-Parse>0:devel/p5-Time-Duration-Parse

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.160.160.160.160.16
FreeBSD:14:quarterly0.160.16n/a0.160.16
FreeBSD:15:latest0.160.16n/a0.160.16
FreeBSD:15:quarterly0.160.16n/an/an/a
FreeBSD:16:latest0.160.16n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Test 1

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

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Time/Duration/Parse.pm
  • %%PERL5_MAN3%%/Time::Duration::Parse.3.gz
distinfo 1
FileSizeSHA256
Time-Duration-Parse-0.16.tar.gz118101084a6463ee2790f99215bd76b135ca45afe2bfa6998fa6fd5470b69e1babc12
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.