mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add p5-Test-BinaryData 0.013
Sometimes using Test::More's is test isn't good enough. Its diagnostics may make it easy to miss differences between strings. By using is_binary instead of is, the "!" tells us that the lines differ, and we can quickly scan the bytes that make up the line to see which differ. When comparing very long strings, we can stop after we've seen a few differences. WWW: http://search.cpan.org/dist/Test-BinaryData/
This commit is contained in:
parent
e83d26aeaf
commit
45bb1fffef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287414
5 changed files with 44 additions and 0 deletions
|
@ -2416,6 +2416,7 @@
|
|||
SUBDIR += p5-Test-Assertions
|
||||
SUBDIR += p5-Test-Base
|
||||
SUBDIR += p5-Test-Benchmark
|
||||
SUBDIR += p5-Test-BinaryData
|
||||
SUBDIR += p5-Test-Block
|
||||
SUBDIR += p5-Test-Class
|
||||
SUBDIR += p5-Test-ClassAPI
|
||||
|
|
29
devel/p5-Test-BinaryData/Makefile
Normal file
29
devel/p5-Test-BinaryData/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
# New ports collection makefile for: p5-Test-BinaryData
|
||||
# Date created: 2011-12-15
|
||||
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Test-BinaryData
|
||||
PORTVERSION= 0.013
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Compare two things, give hex dumps if they differ
|
||||
|
||||
TEST_DEPENDS= p5-Test-Tester>=0.10.7:${PORTSDIR}/devel/p5-Test-Tester
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Test::BinaryData.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 501400
|
||||
TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
devel/p5-Test-BinaryData/distinfo
Normal file
2
devel/p5-Test-BinaryData/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Test-BinaryData-0.013.tar.gz) = 6aa709b0ab6951de90985478c21a196d8bf502f5dabc056eb1d47d64ccf80611
|
||||
SIZE (Test-BinaryData-0.013.tar.gz) = 14859
|
7
devel/p5-Test-BinaryData/pkg-descr
Normal file
7
devel/p5-Test-BinaryData/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
Sometimes using Test::More's is test isn't good enough. Its diagnostics may make
|
||||
it easy to miss differences between strings. By using is_binary instead of is,
|
||||
the "!" tells us that the lines differ, and we can quickly scan the bytes that
|
||||
make up the line to see which differ. When comparing very long strings, we can
|
||||
stop after we've seen a few differences.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Test-BinaryData/
|
5
devel/p5-Test-BinaryData/pkg-plist
Normal file
5
devel/p5-Test-BinaryData/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
%%SITE_PERL%%/Test/BinaryData.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/BinaryData/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/BinaryData
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
|
||||
@dirrmtry %%SITE_PERL%%/Test
|
Loading…
Add table
Reference in a new issue