From 9edf55685d2d898dc0555d089d30ab5a06d23694 Mon Sep 17 00:00:00 2001 From: benoit Date: Tue, 18 Mar 2014 09:09:03 +0000 Subject: [PATCH] Import p5-DBIx-Connector. DBIx::Connector provides a simple interface for fast and safe DBI connection and transaction management. from maintainer Abel Abraham Camarillo Ojeda, ok sthen@ --- databases/p5-DBIx-Connector/Makefile | 22 ++++++++++++++++++++++ databases/p5-DBIx-Connector/distinfo | 2 ++ databases/p5-DBIx-Connector/pkg/DESCR | 7 +++++++ databases/p5-DBIx-Connector/pkg/PLIST | 18 ++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 databases/p5-DBIx-Connector/Makefile create mode 100644 databases/p5-DBIx-Connector/distinfo create mode 100644 databases/p5-DBIx-Connector/pkg/DESCR create mode 100644 databases/p5-DBIx-Connector/pkg/PLIST diff --git a/databases/p5-DBIx-Connector/Makefile b/databases/p5-DBIx-Connector/Makefile new file mode 100644 index 00000000000..da9c9bad064 --- /dev/null +++ b/databases/p5-DBIx-Connector/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2014/03/18 09:09:03 benoit Exp $ + +COMMENT = fast, safe DBI connection and transaction management + +MODULES = cpan +DISTNAME = DBIx-Connector-0.53 +CATEGORIES = databases +CPAN_AUTHOR = DWHEELER + +MAINTAINER = Abel Abraham Camarillo Ojeda + +# Artistic +PERMIT_PACKAGE_CDROM = Yes + +BUILD_DEPENDS = devel/p5-Test-MockModule>=0.05 +RUN_DEPENDS = databases/p5-DBI>=1.605 +TEST_DEPENDS = devel/p5-Test-Pod>=1.41 \ + devel/p5-Test-Pod-Coverage>=1.06 + +CONFIGURE_STYLE = perl modbuild + +.include diff --git a/databases/p5-DBIx-Connector/distinfo b/databases/p5-DBIx-Connector/distinfo new file mode 100644 index 00000000000..a96c10156af --- /dev/null +++ b/databases/p5-DBIx-Connector/distinfo @@ -0,0 +1,2 @@ +SHA256 (DBIx-Connector-0.53.tar.gz) = PEr5/tmgmoQ4qa6ktIK2EClG9xnEv13g+gbbfFJcGKU= +SIZE (DBIx-Connector-0.53.tar.gz) = 35777 diff --git a/databases/p5-DBIx-Connector/pkg/DESCR b/databases/p5-DBIx-Connector/pkg/DESCR new file mode 100644 index 00000000000..80364651b2f --- /dev/null +++ b/databases/p5-DBIx-Connector/pkg/DESCR @@ -0,0 +1,7 @@ +DBIx::Connector provides a simple interface for fast and safe DBI +connection and transaction management. Connecting to a database can be +expensive; you don't want your application to re-connect every time you +need to run a query. The efficient thing to do is to hang on to a +database handle to maintain a connection to the database in order to +minimize that overhead. DBIx::Connector lets you do that without having +to worry about dropped or corrupted connections. diff --git a/databases/p5-DBIx-Connector/pkg/PLIST b/databases/p5-DBIx-Connector/pkg/PLIST new file mode 100644 index 00000000000..35b1da43185 --- /dev/null +++ b/databases/p5-DBIx-Connector/pkg/PLIST @@ -0,0 +1,18 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2014/03/18 09:09:03 benoit Exp $ +${P5SITE}/DBIx/ +${P5SITE}/DBIx/Connector/ +${P5SITE}/DBIx/Connector.pm +${P5SITE}/DBIx/Connector/Driver/ +${P5SITE}/DBIx/Connector/Driver.pm +${P5SITE}/DBIx/Connector/Driver/MSSQL.pm +${P5SITE}/DBIx/Connector/Driver/Oracle.pm +${P5SITE}/DBIx/Connector/Driver/Pg.pm +${P5SITE}/DBIx/Connector/Driver/SQLite.pm +${P5SITE}/DBIx/Connector/Driver/mysql.pm +@man man/man3p/DBIx::Connector.3p +@man man/man3p/DBIx::Connector::Driver.3p +@man man/man3p/DBIx::Connector::Driver::MSSQL.3p +@man man/man3p/DBIx::Connector::Driver::Oracle.3p +@man man/man3p/DBIx::Connector::Driver::Pg.3p +@man man/man3p/DBIx::Connector::Driver::SQLite.3p +@man man/man3p/DBIx::Connector::Driver::mysql.3p