Port details |
- p5-Mock-MonkeyPatch Monkey patching with test mocking in mind
- 1.03 devel =2 1.03Version of this port present on the latest quarterly branch.
- Maintainer: svysh.fbsd@gmail.com
- Port Added: 2021-07-28 09:30:06
- Last Update: 2024-10-21 09:36:23
- Commit Hash: f138a96
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/dist/Mock-MonkeyPatch
- Description:
- Mocking is a common tool, especially for testing. By strategically
replacing a subroutine, one can isolate segments (units) of code to
test individually. When this is done it is important to know that the
mocked sub was actually called and with what arguments it was called.
Mock::MonkeyPatch injects a subroutine in the place of an existing one.
It returns an object by which you can revisit the manner in which the
mocked subroutine was called. Further when the object goes out of scope
(or when the "restore" method is called) the original subroutine is
replaced.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Mock-MonkeyPatch>0:devel/p5-Mock-MonkeyPatch
- To install the port:
- cd /usr/ports/devel/p5-Mock-MonkeyPatch/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Mock-MonkeyPatch
- pkg install p5-Mock-MonkeyPatch
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Mock-MonkeyPatch
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1729152415
SHA256 (Mock-MonkeyPatch-1.03.tar.gz) = acc586530cb62e814166cacfb792b8977b6c3d56c77b169e6ab1c30d48e1d585
SIZE (Mock-MonkeyPatch-1.03.tar.gz) = 14256
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Scalar-List-Utils>=1.56 : lang/p5-Scalar-List-Utils
- perl5>=5.36<5.37 : lang/perl5.36
- p5-Module-Build-Tiny>=0.043 : devel/p5-Module-Build-Tiny
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- p5-Scalar-List-Utils>=1.56 : lang/p5-Scalar-List-Utils
- 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-Mock-MonkeyPatch
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 5
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.03 21 Oct 2024 09:36:23 |
Robert Clausecker (fuz) Author: Sergei Vyshenski |
devel/p5-Mock-MonkeyPatch: Update to 1.03
Changes: https://metacpan.org/dist/Mock-MonkeyPatch/changes
PR: 282159 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.02 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.02 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
1.02 28 Jul 2021 09:27:20 |
Li-Wen Hsu (lwhsu) Author: Sergei Vyshenski |
devel/p5-Mock-MonkeyPatch: (NEW) Monkey patching with test mocking in mind
PR: 257466 |
Number of commits found: 5
|