From c4ceba37367280889441ce3b8698de7ab27de2f1 Mon Sep 17 00:00:00 2001 From: abs Date: Mon, 23 Jun 2008 03:46:48 +0000 Subject: Import p5-UNIVERSAL-isa-0.06 Whenever you use UNIVERSAL::isa as a function, a kitten using Test::MockObject dies. Normally, the kittens would be helpless, but if they use UNIVERSAL::isa (the module whose docs you are reading), the kittens can live long and prosper. This module replaces UNIVERSAL::isa with a version that makes sure that if it's called as a function on objects which override isa, isa will be called on those objects as a method. In all other cases the real UNIVERSAL::isa is just called directly. WWW: http://search.cpan.org/dist/UNIVERSAL-isa/ --- devel/p5-UNIVERSAL-isa/DESCR | 12 ++++++++++++ devel/p5-UNIVERSAL-isa/Makefile | 21 +++++++++++++++++++++ devel/p5-UNIVERSAL-isa/distinfo | 5 +++++ 3 files changed, 38 insertions(+) create mode 100644 devel/p5-UNIVERSAL-isa/DESCR create mode 100644 devel/p5-UNIVERSAL-isa/Makefile create mode 100644 devel/p5-UNIVERSAL-isa/distinfo (limited to 'devel/p5-UNIVERSAL-isa') diff --git a/devel/p5-UNIVERSAL-isa/DESCR b/devel/p5-UNIVERSAL-isa/DESCR new file mode 100644 index 00000000000..09cf8444816 --- /dev/null +++ b/devel/p5-UNIVERSAL-isa/DESCR @@ -0,0 +1,12 @@ +Whenever you use UNIVERSAL::isa as a function, a kitten using +Test::MockObject dies. Normally, the kittens would be helpless, but if they +use UNIVERSAL::isa (the module whose docs you are reading), the kittens can +live long and prosper. + +This module replaces UNIVERSAL::isa with a version that makes sure that if +it's called as a function on objects which override isa, isa will be +called on those objects as a method. + +In all other cases the real UNIVERSAL::isa is just called directly. + +WWW: http://search.cpan.org/dist/UNIVERSAL-isa/ diff --git a/devel/p5-UNIVERSAL-isa/Makefile b/devel/p5-UNIVERSAL-isa/Makefile new file mode 100644 index 00000000000..bfa34068e78 --- /dev/null +++ b/devel/p5-UNIVERSAL-isa/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/06/23 03:46:48 abs Exp $ + +DISTNAME= UNIVERSAL-isa-0.06 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/C/CH/CHROMATIC/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/UNIVERSAL-isa/ +COMMENT= Hack around people calling UNIVERSAL::isa() as a function + +DEPENDS+= p5-Scalar-List-Utils>=0:../../devel/p5-Scalar-List-Utils + +PERL5_MODULE_TYPE= Module::Build +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/UNIVERSAL/isa/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-UNIVERSAL-isa/distinfo b/devel/p5-UNIVERSAL-isa/distinfo new file mode 100644 index 00000000000..f258257c624 --- /dev/null +++ b/devel/p5-UNIVERSAL-isa/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/06/23 03:46:48 abs Exp $ + +SHA1 (UNIVERSAL-isa-0.06.tar.gz) = 18157acb7d765f8f25930950de9d2f3c4945cf79 +RMD160 (UNIVERSAL-isa-0.06.tar.gz) = 1645cfc7b389a4ba0ccf0b32444c62b3d2d951d1 +Size (UNIVERSAL-isa-0.06.tar.gz) = 4443 bytes -- cgit v1.2.3