pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/p5-Ima-DBI Import p5-Ima-DBI 0.33. From the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae86953d789d
branches:  trunk
changeset: 483015:ae86953d789d
user:      he <he%pkgsrc.org@localhost>
date:      Sat Nov 06 01:29:50 2004 +0000

description:
Import p5-Ima-DBI 0.33.  From the module's documentation:

Ima::DBI attempts to organize and facilitate caching and more
efficient use of database connections and statement handles.

One of the things I always found annoying about writing large
programs with DBI was making sure that I didn't have duplicate
database handles open.  I was also annoyed by the somewhat wasteful
nature of the prepare/execute/finish route I'd tend to go through
in my subroutines.  The new DBI->connect_cached and DBI->prepare_cached
helped alot, but I still had to throw around global datasource,
username and password information.

So, after a while I grew a small library of DBI helper routines
and techniques.  Ima::DBI is the culmination of all this, put into
a nice(?), clean(?) class to be inherited from.

diffstat:

 databases/p5-Ima-DBI/DESCR    |  14 ++++++++++++++
 databases/p5-Ima-DBI/Makefile |  22 ++++++++++++++++++++++
 databases/p5-Ima-DBI/PLIST    |   1 +
 databases/p5-Ima-DBI/distinfo |   4 ++++
 4 files changed, 41 insertions(+), 0 deletions(-)

diffs (57 lines):

diff -r 27d91a2336c1 -r ae86953d789d databases/p5-Ima-DBI/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Ima-DBI/DESCR        Sat Nov 06 01:29:50 2004 +0000
@@ -0,0 +1,14 @@
+Ima::DBI attempts to organize and facilitate caching and more
+efficient use of database connections and statement handles.
+
+One of the things I always found annoying about writing large
+programs with DBI was making sure that I didn't have duplicate
+database handles open.  I was also annoyed by the somewhat wasteful
+nature of the prepare/execute/finish route I'd tend to go through
+in my subroutines.  The new DBI->connect_cached and DBI->prepare_cached
+helped alot, but I still had to throw around global datasource,
+username and password information.
+
+So, after a while I grew a small library of DBI helper routines
+and techniques.  Ima::DBI is the culmination of all this, put into
+a nice(?), clean(?) class to be inherited from.
diff -r 27d91a2336c1 -r ae86953d789d databases/p5-Ima-DBI/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Ima-DBI/Makefile     Sat Nov 06 01:29:50 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/06 01:29:50 he Exp $
+#
+
+DISTNAME=              Ima-DBI-0.33
+PKGNAME=               p5-${DISTNAME}
+SVR4_PKGNAME=          p5idi
+CATEGORIES=            perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=../by-authors/id/T/TM/TMTM/}
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://search.cpan.org/~tmtm/Ima-DBI-0.33/
+COMMENT=               Perl5 module for DB connection caching and organization
+
+DEPENDS+=              p5-DBI>=1.20:../../databases/p5-DBI
+DEPENDS+=              p5-Class-WhiteHole>=0.03:../../devel/p5-Class-WhiteHole
+DEPENDS+=              p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
+
+USE_BUILDLINK3=                YES
+PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/Ima/DBI/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 27d91a2336c1 -r ae86953d789d databases/p5-Ima-DBI/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Ima-DBI/PLIST        Sat Nov 06 01:29:50 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/06 01:29:50 he Exp $
diff -r 27d91a2336c1 -r ae86953d789d databases/p5-Ima-DBI/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-Ima-DBI/distinfo     Sat Nov 06 01:29:50 2004 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/06 01:29:50 he Exp $
+
+SHA1 (Ima-DBI-0.33.tar.gz) = 180618d915d62bc67b42df014036f6fc6fa013a3
+Size (Ima-DBI-0.33.tar.gz) = 12555 bytes



Home | Main Index | Thread Index | Old Index