pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/p5-Class-DBI Import p5-Class-DBI version 0.96.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5deec3eb9018
branches:  trunk
changeset: 483057:5deec3eb9018
user:      he <he%pkgsrc.org@localhost>
date:      Sat Nov 06 19:06:08 2004 +0000

description:
Import p5-Class-DBI version 0.96.

Class::DBI provides a convenient abstraction layer to a database.

It not only provides a simple database to object mapping layer, but can
be used to implement several higher order database functions (triggers,
referential integrity, cascading delete etc.), at the application level,
rather than at the database.

This is particularly useful when using a database which doesn't support
these (such as MySQL), or when you would like your code to be portable
across multiple databases which might implement these things in
different ways.

In short, Class::DBI aims to make it simple to introduce 'best practice'
when dealing with data stored in a relational database.

diffstat:

 databases/p5-Class-DBI/DESCR    |  14 ++++++++++++++
 databases/p5-Class-DBI/Makefile |  26 ++++++++++++++++++++++++++
 databases/p5-Class-DBI/PLIST    |   1 +
 databases/p5-Class-DBI/distinfo |   4 ++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r 3669b06ffa76 -r 5deec3eb9018 databases/p5-Class-DBI/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Class-DBI/DESCR      Sat Nov 06 19:06:08 2004 +0000
@@ -0,0 +1,14 @@
+Class::DBI provides a convenient abstraction layer to a database.
+
+It not only provides a simple database to object mapping layer, but can
+be used to implement several higher order database functions (triggers,
+referential integrity, cascading delete etc.), at the application level,
+rather than at the database.
+
+This is particularly useful when using a database which doesn't support
+these (such as MySQL), or when you would like your code to be portable
+across multiple databases which might implement these things in
+different ways.
+
+In short, Class::DBI aims to make it simple to introduce 'best practice'
+when dealing with data stored in a relational database.
diff -r 3669b06ffa76 -r 5deec3eb9018 databases/p5-Class-DBI/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Class-DBI/Makefile   Sat Nov 06 19:06:08 2004 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/06 19:06:08 he Exp $
+#
+
+DISTNAME=      Class-DBI-0.96
+PKGNAME=       p5-${DISTNAME}
+SVR4_PKGNAME=  p5cdi
+CATEGORIES=    perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Class/}
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/~tmtm/Class-DBI-0.96/
+COMMENT=       Perl5 module for Simple Database Abstraction
+
+DEPENDS+=      p5-Class-Accessor>=0.18:../../devel/p5-Class-Accessor
+DEPENDS+=      p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
+DEPENDS+=      p5-Class-Trigger>=0.07:../../devel/p5-Class-Trigger
+DEPENDS+=      p5-File-Temp>=0.12:../../devel/p5-File-Temp
+DEPENDS+=      p5-Storable>=2.04:../../devel/p5-Storable
+DEPENDS+=      p5-Ima-DBI>=0.33:../../databases/p5-Ima-DBI
+DEPENDS+=      p5-UNIVERSAL-moniker>=0.06:../../devel/p5-UNIVERSAL-moniker
+
+USE_BUILDLINK3=        YES
+PERL5_PACKLIST=        ${PERL5_SITEARCH}/auto/Class/DBI/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3669b06ffa76 -r 5deec3eb9018 databases/p5-Class-DBI/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Class-DBI/PLIST      Sat Nov 06 19:06:08 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/06 19:06:08 he Exp $
diff -r 3669b06ffa76 -r 5deec3eb9018 databases/p5-Class-DBI/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Class-DBI/distinfo   Sat Nov 06 19:06:08 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/06 19:06:08 he Exp $
+
+SHA1 (Class-DBI-0.96.tar.gz) = 27e70513a79f36c0e6627ab39e8604bb64faf4f0
+Size (Class-DBI-0.96.tar.gz) = 70279 bytes



Home | Main Index | Thread Index | Old Index