Adding new package for Perl module Test::Identity from CPAN distribution

Test-Identity version 0.01 into devel/p5-Test-Identity

This module provides a single testing function, "identical". It asserts
that a given reference is as expected; that is, it either refers to the
same
object or is "undef". It is similar to "Test::More::is" except that it uses
"refaddr", ensuring that it behaves correctly even if the references under
test are objects that overload stringification or numification.
This commit is contained in:
sno 2014-02-23 11:30:36 +00:00
parent 481a0a81ae
commit 711cdc76c0
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,6 @@
This module provides a single testing function, "identical". It asserts
that a given reference is as expected; that is, it either refers to the
same object or is "undef". It is similar to "Test::More::is" except that
it uses "refaddr", ensuring that it behaves correctly even if the
references under test are objects that overload stringification or
numification.

View file

@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.1 2014/02/23 11:30:36 sno Exp $
DISTNAME= Test-Identity-0.01
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/P/PE/PEVANS/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/Test-Identity
COMMENT= Assert the referential identity of a reference
LICENSE= ${PERL5_LICENSE}
BUILD_DEPENDS+= p5-Module-Build>=0.36:../../devel/p5-Module-Build
USE_LANGUAGES=
PERL5_MODULE_TYPE+= Module::Build
PERL5_PACKLIST+= auto/Test/Identity/.packlist
PERL5_REQD+= 5.7.3 # Scalar::Util >= 0
PERL5_REQD+= 5.6.2 # Test::More >= 0
PERL5_REQD+= 5.8.8 # Test::Builder::Tester >= 0
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2014/02/23 11:30:36 sno Exp $
SHA1 (Test-Identity-0.01.tar.gz) = e8440259c17b34ffdbb93d76731974734310849a
RMD160 (Test-Identity-0.01.tar.gz) = 4c6f635f228a4bdad3894572ddcbaf71d11a1c0a
Size (Test-Identity-0.01.tar.gz) = 10889 bytes