SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
devel/p5-Test-MockModule/Makefile
Normal file
21
devel/p5-Test-MockModule/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
COMMENT = override subroutines in a module for unit testing
|
||||
|
||||
DISTNAME = Test-MockModule-v0.177.0
|
||||
PKGNAME = p5-${DISTNAME:S/-v/-/}
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = cpan
|
||||
|
||||
BUILD_DEPENDS = devel/p5-Module-Build>=0.38
|
||||
RUN_DEPENDS = devel/p5-SUPER>=1.20
|
||||
TEST_DEPENDS = devel/p5-Test-Warnings
|
||||
|
||||
CONFIGURE_STYLE = modbuild
|
||||
|
||||
PKG_ARCH = *
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-Test-MockModule/distinfo
Normal file
2
devel/p5-Test-MockModule/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Test-MockModule-v0.177.0.tar.gz) = G9p6SdzqdgdtQKe2psPz4V5rGchLYXHfRFNNkROPEEU=
|
||||
SIZE (Test-MockModule-v0.177.0.tar.gz) = 23921
|
7
devel/p5-Test-MockModule/pkg/DESCR
Normal file
7
devel/p5-Test-MockModule/pkg/DESCR
Normal file
|
@ -0,0 +1,7 @@
|
|||
Test::MockModule lets you temporarily redefine subroutines in other packages
|
||||
for the purposes of unit testing.
|
||||
|
||||
A Test::MockModule object is set up to mock subroutines for a given
|
||||
module. The object remembers the original subroutine so it can be easily
|
||||
restored. This happens automatically when all MockModule objects for the given
|
||||
module go out of scope, or when you unmock() the subroutine.
|
3
devel/p5-Test-MockModule/pkg/PLIST
Normal file
3
devel/p5-Test-MockModule/pkg/PLIST
Normal file
|
@ -0,0 +1,3 @@
|
|||
${P5SITE}/Test/
|
||||
${P5SITE}/Test/MockModule.pm
|
||||
@man man/man3p/Test::MockModule.3p
|
Loading…
Add table
Add a link
Reference in a new issue