pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Object-InsideOut Initial import of p5-Object-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ce422f8a2ae
branches:  trunk
changeset: 533372:4ce422f8a2ae
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Sep 16 22:51:57 2007 +0000

description:
Initial import of p5-Object-InsideOut version 3.25 into The NetBSD
Packages Collection.

The Perl 5 module Object::InsideOut provides comprehensive support
for implementing classes using the inside-out object model.

It implements inside-out objects as anonymous scalar references
that are blessed into a class with the scalar containing the ID
for the object (usually a sequence number).  Object data (i.e.,
fields) are stored within the class's package in either arrays
indexed by the object's ID, or hashes keyed to the object's ID.

The virtues of the inside-out object model over the 'blessed hash'
object model have been extolled in detail elsewhere.  Briefly,
inside-out objects offer the following advantages over 'blessed
hash' objects:
* Encapsulation
* Field Name Collision Avoidance
* Compile-time Name Checking

diffstat:

 devel/p5-Object-InsideOut/DESCR    |  16 ++++++++++++++++
 devel/p5-Object-InsideOut/Makefile |  20 ++++++++++++++++++++
 devel/p5-Object-InsideOut/PLIST    |   1 +
 devel/p5-Object-InsideOut/distinfo |   5 +++++
 4 files changed, 42 insertions(+), 0 deletions(-)

diffs (58 lines):

diff -r de575d77ff42 -r 4ce422f8a2ae devel/p5-Object-InsideOut/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Object-InsideOut/DESCR   Sun Sep 16 22:51:57 2007 +0000
@@ -0,0 +1,16 @@
+The Perl 5 module Object::InsideOut provides comprehensive support
+for implementing classes using the inside-out object model.
+
+It implements inside-out objects as anonymous scalar references
+that are blessed into a class with the scalar containing the ID
+for the object (usually a sequence number).  Object data (i.e.,
+fields) are stored within the class's package in either arrays
+indexed by the object's ID, or hashes keyed to the object's ID.
+
+The virtues of the inside-out object model over the 'blessed hash'
+object model have been extolled in detail elsewhere.  Briefly,
+inside-out objects offer the following advantages over 'blessed
+hash' objects:
+* Encapsulation
+* Field Name Collision Avoidance
+* Compile-time Name Checking
diff -r de575d77ff42 -r 4ce422f8a2ae devel/p5-Object-InsideOut/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Object-InsideOut/Makefile        Sun Sep 16 22:51:57 2007 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/16 22:51:57 seb Exp $
+#
+
+DISTNAME=      Object-InsideOut-3.25
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Object/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Object-InsideOut/
+COMMENT=       Perl 5 module providing comprehensive inside-out object support
+
+DEPENDS+=      p5-Exception-Class>=1.22:../../devel/p5-Exception-Class
+DEPENDS+=      p5-Want>=0.12:../../devel/p5-Want
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/Object/InsideOut/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r de575d77ff42 -r 4ce422f8a2ae devel/p5-Object-InsideOut/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Object-InsideOut/PLIST   Sun Sep 16 22:51:57 2007 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/16 22:51:57 seb Exp $
diff -r de575d77ff42 -r 4ce422f8a2ae devel/p5-Object-InsideOut/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Object-InsideOut/distinfo        Sun Sep 16 22:51:57 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/09/16 22:51:57 seb Exp $
+
+SHA1 (Object-InsideOut-3.25.tar.gz) = 7c6465dd46601baac6e5eebcf30b49d13f8473a6
+RMD160 (Object-InsideOut-3.25.tar.gz) = 7429c7f0c566ad39fbe1e928209c9c592a09d7b3
+Size (Object-InsideOut-3.25.tar.gz) = 107165 bytes



Home | Main Index | Thread Index | Old Index