diff options
author | abs <abs@pkgsrc.org> | 2008-06-24 15:07:24 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2008-06-24 15:07:24 +0000 |
commit | f07af08ed7af6cf9e98f5ae030c9ddc57db67609 (patch) | |
tree | 39a37fe442b73035f18af0dcb4ffddbd7530532c /devel | |
parent | 8bc9d59151065faad700a302bb37983f97a24e93 (diff) | |
download | pkgsrc-f07af08ed7af6cf9e98f5ae030c9ddc57db67609.tar.gz |
import devel/p5-MRO-Compat-0.09 (needed by devel/p5-Class-Accessor-Grouped)
The "mro" namespace provides several utilities for dealing with
method resolution order and method caching in general in Perl 5.9.5
and higher.
This module provides those interfaces for earlier versions of Perl
(back to 5.6.0 anyways).
It is a harmless no-op to use this module on 5.9.5+. That is to
say, code which properly uses MRO::Compat will work unmodified on
both older Perls and 5.9.5+.
If you're writing a piece of software that would like to use the
parts of 5.9.5+'s mro:: interfaces that are supported here, and
you want compatibility with older Perls, this is the module for
you.
Some parts of this code will work better and/or faster with
Class::C3::XS installed (which is an optional prereq of Class::C3,
which is in turn a prereq of this package), but it's not a requirement.
This module never exports any functions. All calls must be fully
qualified with the mro:: prefix.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-MRO-Compat/DESCR | 22 | ||||
-rw-r--r-- | devel/p5-MRO-Compat/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-MRO-Compat/distinfo | 5 |
3 files changed, 48 insertions, 0 deletions
diff --git a/devel/p5-MRO-Compat/DESCR b/devel/p5-MRO-Compat/DESCR new file mode 100644 index 00000000000..84d115cd7f1 --- /dev/null +++ b/devel/p5-MRO-Compat/DESCR @@ -0,0 +1,22 @@ +The "mro" namespace provides several utilities for dealing with +method resolution order and method caching in general in Perl 5.9.5 +and higher. + +This module provides those interfaces for earlier versions of Perl +(back to 5.6.0 anyways). + +It is a harmless no-op to use this module on 5.9.5+. That is to +say, code which properly uses MRO::Compat will work unmodified on +both older Perls and 5.9.5+. + +If you're writing a piece of software that would like to use the +parts of 5.9.5+'s mro:: interfaces that are supported here, and +you want compatibility with older Perls, this is the module for +you. + +Some parts of this code will work better and/or faster with +Class::C3::XS installed (which is an optional prereq of Class::C3, +which is in turn a prereq of this package), but it's not a requirement. + +This module never exports any functions. All calls must be fully +qualified with the mro:: prefix. diff --git a/devel/p5-MRO-Compat/Makefile b/devel/p5-MRO-Compat/Makefile new file mode 100644 index 00000000000..8d527af513c --- /dev/null +++ b/devel/p5-MRO-Compat/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/06/24 15:07:24 abs Exp $ + +DISTNAME= MRO-Compat-0.09 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/B/BL/BLBLACK/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/perldoc?MRO::Compat +COMMENT= MRO::* interface compatibility for Perls < 5.9.5 + +DEPENDS+= p5-Class-C3>=0:../../devel/p5-Class-C3 +DEPENDS+= p5-Class-C3-XS>=0:../../devel/p5-Class-C3-XS + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/MRO/Compat/.packlist + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-MRO-Compat/distinfo b/devel/p5-MRO-Compat/distinfo new file mode 100644 index 00000000000..100824c0bc9 --- /dev/null +++ b/devel/p5-MRO-Compat/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/06/24 15:07:24 abs Exp $ + +SHA1 (MRO-Compat-0.09.tar.gz) = e351a39e77e1e8997e95ea9a80dd26e9fbfe666f +RMD160 (MRO-Compat-0.09.tar.gz) = 49f3fbe38a7b239fa3fb7da1be88ab208880f612 +Size (MRO-Compat-0.09.tar.gz) = 25066 bytes |