notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
p5-Time-Duration-Parse-AsHash Parse string that represents time duration
0.10.6 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-05 06:21:42
Last Update: 2024-09-05 06:11:17
Commit Hash: e83a453f
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/dist/Time-Duration-Parse-AsHash
Description:
Time::Duration::Parse::AsHash is like Time::Duration::Parse except: - By default it returns a hashref of parsed duration elements instead of number of seconds There are some circumstances when you want this, e.g. when feeding into DateTime::Duration and you want to count for leap seconds. To return number of seconds like Time::Duration::Parse, pass a true value as the second argument. - By default seconds are not rounded For example: "0.1s" or 100ms will return result { seconds => 0.1 }, and "2.3s" will return { seconds => 2.3 }. Also, <01:02:03> being recognized as 1h2min3s, 01:02:03.4567 will also be recognized as 1h2min3.4567s. - It recognizes more duration units milliseconds (ms), which will be returned in the seconds key, for example "400ms" returns { seconds => 0.4 }. microseconds. This will also be returned in seconds key. nanoseconds (ns). This will also be returned in seconds key. decades. This will be returned in years key, for example "1.5 decades" will return { years => 15 }. - It has a lower startup overhead By avoiding modules like Carp and Exporter::Lite, even strict and warnings (starts up in ~3m vs ~9ms on my computer).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Time-Duration-Parse-AsHash-0.10.6/catalog.mk
  2. /usr/local/share/licenses/p5-Time-Duration-Parse-AsHash-0.10.6/LICENSE
  3. /usr/local/share/licenses/p5-Time-Duration-Parse-AsHash-0.10.6/ART10
  4. /usr/local/share/licenses/p5-Time-Duration-Parse-AsHash-0.10.6/GPLv1+
  5. lib/perl5/site_perl/Time/Duration/Parse/AsHash.pm
  6. lib/perl5/site_perl/man/man3/Time::Duration::Parse::AsHash.3.gz
  7. @owner
  8. @group
  9. @mode
Collapse this list.
Dependency lines:
  • p5-Time-Duration-Parse-AsHash>0:devel/p5-Time-Duration-Parse-AsHash
To install the port:
cd /usr/ports/devel/p5-Time-Duration-Parse-AsHash/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-Time-Duration-Parse-AsHash
  • pkg install p5-Time-Duration-Parse-AsHash
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-Time-Duration-Parse-AsHash
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1724084468 SHA256 (Time-Duration-Parse-AsHash-0.10.6.tar.gz) = b6776df009d00ef6bc74aa4e487523536b4578fec35dda9a88891b91d0d52831 SIZE (Time-Duration-Parse-AsHash-0.10.6.tar.gz) = 15754

Packages (timestamps in pop-ups are UTC):
p5-Time-Duration-Parse-AsHash
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.10.60.10.6-0.10.60.10.6---
FreeBSD:13:quarterly0.10.60.10.6-0.10.60.10.6---
FreeBSD:14:latest0.10.60.10.6-0.10.60.10.6---
FreeBSD:14:quarterly0.10.60.10.6-0.10.60.10.6---
FreeBSD:15:latest0.10.60.10.6n/a0.10.6n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. perl5>=5.36<5.37 : lang/perl5.36
Runtime dependencies:
  1. perl5>=5.36<5.37 : lang/perl5.36
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_p5-Time-Duration-Parse-AsHash
USES:
perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Time/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Time/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Time/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Time/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Time/
  7. http://backpan.perl.org/modules/by-module/Time/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Time/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Time/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Time/
  12. https://www.cpan.org/modules/by-module/Time/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.10.6
05 Sep 2024 06:11:17
commit hash: e83a453f6a713df429323dcd0f0e8b0f7518da27commit hash: e83a453f6a713df429323dcd0f0e8b0f7518da27commit hash: e83a453f6a713df429323dcd0f0e8b0f7518da27commit hash: e83a453f6a713df429323dcd0f0e8b0f7518da27 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/p5-Time-Duration-Parse-AsHash: Add p5-Time-Duration-Parse-AsHash 0.10.6

Time::Duration::Parse::AsHash is like Time::Duration::Parse except:
- By default it returns a hashref of parsed duration elements instead of number
  of seconds
  There are some circumstances when you want this, e.g. when feeding into
  DateTime::Duration and you want to count for leap seconds.
  To return number of seconds like Time::Duration::Parse, pass a true value as
  the second argument.
- By default seconds are not rounded
  For example: "0.1s" or 100ms will return result { seconds => 0.1 }, and "2.3s"
  will return { seconds => 2.3 }.
  Also, <01:02:03> being recognized as 1h2min3s, 01:02:03.4567 will also be
  recognized as 1h2min3.4567s.
- It recognizes more duration units
  milliseconds (ms), which will be returned in the seconds key, for example
  "400ms" returns { seconds => 0.4 }.
  microseconds. This will also be returned in seconds key.
  nanoseconds (ns). This will also be returned in seconds key.
  decades. This will be returned in years key, for example "1.5 decades" will
  return { years => 15 }.
- It has a lower startup overhead
  By avoiding modules like Carp and Exporter::Lite, even strict and warnings
  (starts up in ~3m vs ~9ms on my computer).

Number of commits found: 1