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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details on branch 2022Q2
p5-Test-MockDateTime Mock DateTime->now calls during tests
0.02 devel 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 0.02Version of this port present on the latest quarterly branch.
Maintainer: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-11-14 06:24:15
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/release/Test-MockDateTime
Description:
Getting the current time sometimes is not very helpful for testing scenarios. Instead, if you could obtain a known value during the runtime of a testcase will make your results predictable. Why another Date Mocker? I wanted something simple with a very concise usage pattern and a mocked date should only exist and stay constant inside a scope. After leaving the scope the current time should be back. This lead to this tiny module. This simple module allows faking a given date and time for the runtime of a subsequent code block. By default the on keyword is exported into the namespace of the test file. The date to get mocked must be in a format that is recognized by DateTime::Format::DateParse.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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-Test-MockDateTime-0.02/catalog.mk
  2. /usr/local/share/licenses/p5-Test-MockDateTime-0.02/LICENSE
  3. /usr/local/share/licenses/p5-Test-MockDateTime-0.02/ART10
  4. /usr/local/share/licenses/p5-Test-MockDateTime-0.02/GPLv1+
  5. lib/perl5/site_perl/Test/MockDateTime.pm
  6. lib/perl5/site_perl/man/man3/Test::MockDateTime.3.gz
  7. @owner
  8. @group
  9. @mode
Collapse this list.
Dependency lines:
  • p5-Test-MockDateTime>0:devel/p5-Test-MockDateTime
To install the port:
cd /usr/ports/devel/p5-Test-MockDateTime/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-Test-MockDateTime
  • pkg install p5-Test-MockDateTime
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-Test-MockDateTime
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1478797177 SHA256 (Test-MockDateTime-0.02.tar.gz) = c6370a58b9f291fc205121caf92a89865451d49559b0163a8dc7e606f34878dc SIZE (Test-MockDateTime-0.02.tar.gz) = 9837

Packages (timestamps in pop-ups are UTC):
p5-Test-MockDateTime
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.020.020.020.020.02-0.02-
FreeBSD:13:quarterly0.020.020.020.020.020.020.020.02
FreeBSD:14:latest0.020.020.020.020.020.02-0.02
FreeBSD:14:quarterly0.020.02-0.020.020.020.020.02
FreeBSD:15:latest0.020.02n/a0.02n/a0.020.020.02
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-DateTime-Format-DateParse>=0 : devel/p5-DateTime-Format-DateParse
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-DateTime-Format-DateParse>=0 : devel/p5-DateTime-Format-DateParse
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_p5-Test-MockDateTime
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/Test/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Test/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Test/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Test/
  7. http://backpan.perl.org/modules/by-module/Test/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Test/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Test/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Test/
  12. https://www.cpan.org/modules/by-module/Test/
Collapse this list.

There are no commits on branch 2022Q2 for this port