diff options
author | seb <seb@pkgsrc.org> | 2010-04-10 13:38:56 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2010-04-10 13:38:56 +0000 |
commit | fee6e687a5b2cbca35a69a0db463afcb143b0a52 (patch) | |
tree | 8a3bceb2404d01892f020fab389b51337bb71326 /devel/p5-Test-HexString | |
parent | fb5bad90d7163cf11c15ee3a7e26f2ba9dd31a5b (diff) | |
download | pkgsrc-fee6e687a5b2cbca35a69a0db463afcb143b0a52.tar.gz |
Initial import of p5-Test-HexString version 0.02 in the NetBSD
Packages Collection.
The Perl 5 module Test::HexString provides a single function,
is_hexstr(), which asserts that the given string matches what was
expected. When the strings match (i.e. compare equal using the eq
operator), the behaviour is identical to the usual is() function
provided by Test::More. When the strings are different, a hex dump
is produced as diagnostic, rather than the string values being
printed raw
Diffstat (limited to 'devel/p5-Test-HexString')
-rw-r--r-- | devel/p5-Test-HexString/DESCR | 7 | ||||
-rw-r--r-- | devel/p5-Test-HexString/Makefile | 19 | ||||
-rw-r--r-- | devel/p5-Test-HexString/distinfo | 5 |
3 files changed, 31 insertions, 0 deletions
diff --git a/devel/p5-Test-HexString/DESCR b/devel/p5-Test-HexString/DESCR new file mode 100644 index 00000000000..374fd21435b --- /dev/null +++ b/devel/p5-Test-HexString/DESCR @@ -0,0 +1,7 @@ +The Perl 5 module Test::HexString provides a single function, +is_hexstr(), which asserts that the given string matches what was +expected. When the strings match (i.e. compare equal using the eq +operator), the behaviour is identical to the usual is() function +provided by Test::More. When the strings are different, a hex dump +is produced as diagnostic, rather than the string values being +printed raw diff --git a/devel/p5-Test-HexString/Makefile b/devel/p5-Test-HexString/Makefile new file mode 100644 index 00000000000..6a8a1f6d92a --- /dev/null +++ b/devel/p5-Test-HexString/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/04/10 13:38:56 seb Exp $ +# + +DISTNAME= Test-HexString-0.02 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Test-HexString/ +COMMENT= Perl5 module to test binary strings with hex dump diagnostics +LICENSE= ${PERL5_LICENSE} + +PKG_DESTDIR_SUPPORT= user-destdir + +PERL5_PACKLIST= auto/Test/HexString/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Test-HexString/distinfo b/devel/p5-Test-HexString/distinfo new file mode 100644 index 00000000000..8470b0a7d50 --- /dev/null +++ b/devel/p5-Test-HexString/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/04/10 13:38:56 seb Exp $ + +SHA1 (Test-HexString-0.02.tar.gz) = f7dbf0446cb7f20ae8f336069c2d77472f4f51a0 +RMD160 (Test-HexString-0.02.tar.gz) = 84863787bc1a49671b87b74a8494204c2a52aa37 +Size (Test-HexString-0.02.tar.gz) = 11847 bytes |