pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Test-MockModule p5-Test-MockModu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0a729009a8e2
branches: trunk
changeset: 307386:0a729009a8e2
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun May 06 06:39:40 2018 +0000
description:
p5-Test-MockModule: update to 0.14.
v0.14
- Fixes a bug where the `redefine()` function was dying when attempting to
mock a function that was defined further up a module's inheritance chain.
It now only dies when the mocked function does not exist in the module being
mocked, or any of its parent modules. Thanks @atoomic for the improvement!
diffstat:
devel/p5-Test-MockModule/Makefile | 7 ++++---
devel/p5-Test-MockModule/distinfo | 10 +++++-----
2 files changed, 9 insertions(+), 8 deletions(-)
diffs (39 lines):
diff -r 36b8b2465289 -r 0a729009a8e2 devel/p5-Test-MockModule/Makefile
--- a/devel/p5-Test-MockModule/Makefile Sun May 06 06:35:51 2018 +0000
+++ b/devel/p5-Test-MockModule/Makefile Sun May 06 06:39:40 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2017/10/09 07:33:35 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2018/05/06 06:39:40 wiz Exp $
-DISTNAME= Test-MockModule-0.13
+DISTNAME= Test-MockModule-0.14
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5 net
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
@@ -10,9 +10,10 @@
COMMENT= Perl 5 module to override subroutines in a module for unit testing
LICENSE= gnu-gpl-v3
-# for make test
+# TEST_DEPENDS
BUILD_DEPENDS+= p5-Test-Pod-Coverage-[0-9]*:../../devel/p5-Test-Pod-Coverage
BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
+BUILD_DEPENDS+= p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings
BUILD_DEPENDS+= p5-SUPER-[0-9]*:../../devel/p5-SUPER
USE_LANGUAGES= # empty
diff -r 36b8b2465289 -r 0a729009a8e2 devel/p5-Test-MockModule/distinfo
--- a/devel/p5-Test-MockModule/distinfo Sun May 06 06:35:51 2018 +0000
+++ b/devel/p5-Test-MockModule/distinfo Sun May 06 06:39:40 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2017/10/09 07:33:35 wiz Exp $
+$NetBSD: distinfo,v 1.8 2018/05/06 06:39:40 wiz Exp $
-SHA1 (Test-MockModule-0.13.tar.gz) = ca5537d8e225df312d01e3201fce8025c25e575d
-RMD160 (Test-MockModule-0.13.tar.gz) = 4401fd6872bf5dc393738da3de59873881ded831
-SHA512 (Test-MockModule-0.13.tar.gz) = 17c2aa7b67fcae2a333788db74fc94da9a680ad83786705e70417cb78df0cfa32e6fcca44962dcc9d7c2ee27c45d8f142ce03b62691da4940ccc405a0bb26472
-Size (Test-MockModule-0.13.tar.gz) = 24561 bytes
+SHA1 (Test-MockModule-0.14.tar.gz) = f8bb867190a1419fdc82db61aba90f38076c6fec
+RMD160 (Test-MockModule-0.14.tar.gz) = d824f30dd07c949a132894bb66383df97220f24c
+SHA512 (Test-MockModule-0.14.tar.gz) = a449cd4de68bf4c0d3fe7d37a6832847ab3d808552afd05a332a74dd573cd8c838be867187bcc43a9078bbd364c75a9255ea261d050dcf1536bfab21e667a61a
+Size (Test-MockModule-0.14.tar.gz) = 25217 bytes
Home |
Main Index |
Thread Index |
Old Index