summaryrefslogtreecommitdiff
path: root/databases/p5-Ima-DBI
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2004-11-06 01:29:50 +0000
committerhe <he@pkgsrc.org>2004-11-06 01:29:50 +0000
commit4e7eec146d58397e20bdaf4e0740f51c65606966 (patch)
tree1650d7192e8d6961ac1c4b9119e86d6ca2131a4a /databases/p5-Ima-DBI
parent9c44ae040bcd8aca1059abbb64c752c286231ef2 (diff)
downloadpkgsrc-4e7eec146d58397e20bdaf4e0740f51c65606966.tar.gz
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 (limited to 'databases/p5-Ima-DBI')
-rw-r--r--databases/p5-Ima-DBI/DESCR14
-rw-r--r--databases/p5-Ima-DBI/Makefile22
-rw-r--r--databases/p5-Ima-DBI/PLIST1
-rw-r--r--databases/p5-Ima-DBI/distinfo4
4 files changed, 41 insertions, 0 deletions
diff --git a/databases/p5-Ima-DBI/DESCR b/databases/p5-Ima-DBI/DESCR
new file mode 100644
index 00000000000..3da2274c946
--- /dev/null
+++ b/databases/p5-Ima-DBI/DESCR
@@ -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 --git a/databases/p5-Ima-DBI/Makefile b/databases/p5-Ima-DBI/Makefile
new file mode 100644
index 00000000000..dedae102cd1
--- /dev/null
+++ b/databases/p5-Ima-DBI/Makefile
@@ -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
+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 --git a/databases/p5-Ima-DBI/PLIST b/databases/p5-Ima-DBI/PLIST
new file mode 100644
index 00000000000..2edc221f511
--- /dev/null
+++ b/databases/p5-Ima-DBI/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/06 01:29:50 he Exp $
diff --git a/databases/p5-Ima-DBI/distinfo b/databases/p5-Ima-DBI/distinfo
new file mode 100644
index 00000000000..8f355259dd6
--- /dev/null
+++ b/databases/p5-Ima-DBI/distinfo
@@ -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