pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-UNIVERSAL-isa Import p5-UNIVERSAL-isa-0.06



details:   https://anonhg.NetBSD.org/pkgsrc/rev/edd2ee970962
branches:  trunk
changeset: 543817:edd2ee970962
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Jun 23 03:46:48 2008 +0000

description:
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/

diffstat:

 devel/p5-UNIVERSAL-isa/DESCR    |  12 ++++++++++++
 devel/p5-UNIVERSAL-isa/Makefile |  21 +++++++++++++++++++++
 devel/p5-UNIVERSAL-isa/distinfo |   5 +++++
 3 files changed, 38 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r cda27c2c92bf -r edd2ee970962 devel/p5-UNIVERSAL-isa/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-UNIVERSAL-isa/DESCR      Mon Jun 23 03:46:48 2008 +0000
@@ -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 -r cda27c2c92bf -r edd2ee970962 devel/p5-UNIVERSAL-isa/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-UNIVERSAL-isa/Makefile   Mon Jun 23 03:46:48 2008 +0000
@@ -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@localhost
+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 -r cda27c2c92bf -r edd2ee970962 devel/p5-UNIVERSAL-isa/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-UNIVERSAL-isa/distinfo   Mon Jun 23 03:46:48 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index