pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/p5-DBIx-Introspector Import DBIx-Introspecto...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba36c1be228d
branches:  trunk
changeset: 637354:ba36c1be228d
user:      wen <wen%pkgsrc.org@localhost>
date:      Mon Jul 28 00:22:43 2014 +0000

description:
Import DBIx-Introspector-0.001003 as databases/p5-DBIx-Introspector.

DBIx::Introspector is a module factored out of the DBIx::Class
database detection code. Most code that needs to detect which
database it is connected to assumes that there is a one-to-one
mapping from database drivers to database engines. Unfortunately
reality is rarely that simple. For instance, DBD::ODBC is typically
used to connect to SQL Server, but ODBC can be used to connect
to PostgreSQL, MySQL, and Oracle. Additionally, while ODBC is the
most common way to connect to SQL Server, it is not the only option,
as DBD::ADO can also be used.

diffstat:

 databases/p5-DBIx-Introspector/DESCR    |   9 +++++++++
 databases/p5-DBIx-Introspector/Makefile |  23 +++++++++++++++++++++++
 databases/p5-DBIx-Introspector/distinfo |   5 +++++
 3 files changed, 37 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r 2f626659f447 -r ba36c1be228d databases/p5-DBIx-Introspector/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-DBIx-Introspector/DESCR      Mon Jul 28 00:22:43 2014 +0000
@@ -0,0 +1,9 @@
+DBIx::Introspector is a module factored out of the DBIx::Class
+database detection code. Most code that needs to detect which
+database it is connected to assumes that there is a one-to-one
+mapping from database drivers to database engines. Unfortunately
+reality is rarely that simple. For instance, DBD::ODBC is typically
+used to connect to SQL Server, but ODBC can be used to connect
+to PostgreSQL, MySQL, and Oracle. Additionally, while ODBC is the
+most common way to connect to SQL Server, it is not the only option,
+as DBD::ADO can also be used.
diff -r 2f626659f447 -r ba36c1be228d databases/p5-DBIx-Introspector/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-DBIx-Introspector/Makefile   Mon Jul 28 00:22:43 2014 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2014/07/28 00:22:43 wen Exp $
+#
+
+DISTNAME=      DBIx-Introspector-0.001003
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    databases perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=DBIx/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/DBIx-Introspector/
+COMMENT=       Detect what database you are connected to
+LICENSE=       ${PERL5_LICENSE}
+
+DEPENDS+=      p5-DBI>=1.628:../../databases/p5-DBI
+DEPENDS+=      p5-Moo>=1.003001:../../devel/p5-Moo
+
+BUILD_DEPENDS+=        p5-DBD-SQLite>=1.4:../../databases/p5-DBD-SQLite
+BUILD_DEPENDS+=        p5-Test-Roo>=1.002:../../devel/p5-Test-Roo
+
+PERL5_PACKLIST=                auto/DBIx/Introspector/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2f626659f447 -r ba36c1be228d databases/p5-DBIx-Introspector/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-DBIx-Introspector/distinfo   Mon Jul 28 00:22:43 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/07/28 00:22:43 wen Exp $
+
+SHA1 (DBIx-Introspector-0.001003.tar.gz) = fef0778f2faa5abe81c8dc966b12b6b22b12d3ff
+RMD160 (DBIx-Introspector-0.001003.tar.gz) = dc739361848b3e826c56f22f2b9300a6eb8cd22d
+Size (DBIx-Introspector-0.001003.tar.gz) = 17543 bytes



Home | Main Index | Thread Index | Old Index