Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test2-Tools-Explain (devel/p5-Test2-Tools-Exp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/040ba16c9f9e
branches:  trunk
changeset: 429232:040ba16c9f9e
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Apr 18 01:10:58 2020 +0000

description:
(devel/p5-Test2-Tools-Explain) import p5-Test2-Tools-Explain-0.02

SUBROUTINES
explain( @things_to_explain )

Will convert the contents of any references in a human readable
format, and return them as strings. Usually you want to pass this into
note or diag.

Handy for things like:

  is( $errors, [], 'Should have no errors' ) or diag explain( $errors );

Note that explain does NOT output anything.

diffstat:

 devel/p5-Test2-Tools-Explain/DESCR    |  12 ++++++++++++
 devel/p5-Test2-Tools-Explain/Makefile |  16 ++++++++++++++++
 devel/p5-Test2-Tools-Explain/distinfo |   6 ++++++
 3 files changed, 34 insertions(+), 0 deletions(-)

diffs (46 lines):

diff -r 412db9ed235b -r 040ba16c9f9e devel/p5-Test2-Tools-Explain/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test2-Tools-Explain/DESCR        Sat Apr 18 01:10:58 2020 +0000
@@ -0,0 +1,12 @@
+SUBROUTINES
+explain( @things_to_explain )
+
+Will convert the contents of any references in a human readable
+format, and return them as strings. Usually you want to pass this into
+note or diag.
+
+Handy for things like:
+
+  is( $errors, [], 'Should have no errors' ) or diag explain( $errors );
+
+Note that explain does NOT output anything.
diff -r 412db9ed235b -r 040ba16c9f9e devel/p5-Test2-Tools-Explain/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test2-Tools-Explain/Makefile     Sat Apr 18 01:10:58 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/04/18 01:10:58 mef Exp $
+
+DISTNAME=      Test2-Tools-Explain-0.02
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/
+COMMENT=       Explain tools for Perl's Test2 framework
+LICENSE=       artistic-2.0
+
+PERL5_PACKLIST=        auto/Test2/Tools/Explain/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 412db9ed235b -r 040ba16c9f9e devel/p5-Test2-Tools-Explain/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test2-Tools-Explain/distinfo     Sat Apr 18 01:10:58 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/18 01:10:58 mef Exp $
+
+SHA1 (Test2-Tools-Explain-0.02.tar.gz) = cfcb90c2100f17286db0312067ad82682ca00c22
+RMD160 (Test2-Tools-Explain-0.02.tar.gz) = 2071e7546e600d40b66654a51cb54de99f82565e
+SHA512 (Test2-Tools-Explain-0.02.tar.gz) = 4359db90fede4aa2e6d8e0ee1e006131e372636ba8ab28c12ff1ef5c30e6f7a23fcf4b63d0ad64d54b881a2b344bbcf279cc7d7777982178065c89c3fceabf04
+Size (Test2-Tools-Explain-0.02.tar.gz) = 4091 bytes



Home | Main Index | Thread Index | Old Index