summaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Connector
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2010-09-22 21:17:15 +0000
committersno <sno@pkgsrc.org>2010-09-22 21:17:15 +0000
commit7df78a0552f535b6f9ef99e3157eb016eae09078 (patch)
treed66b9b98cf9dbbb34e7736dcfeaa8a79e3eb790c /databases/p5-DBIx-Connector
parent71118b6911e0fce4f7ed17900af3ed3c2a7d20ae (diff)
downloadpkgsrc-7df78a0552f535b6f9ef99e3157eb016eae09078.tar.gz
Updating databases/p5-DBIx-Connector from 0.35nb1 to 0.40
pkgsrc changes: - bump required DBI version Upstream changes: 0.40 2010-09-17T18:44:01 - The code refs passed to `run()`, `txn()`, and `svp()` now know their contexts, so that `wantarray` can be used to decide what to return. Patch from Yaroslav Korshak. - Set `AutoInactiveDestroy` on connect with DBI 1.614 and higher, unless it is explicitly set in the attributes. This makes things even safer in a forking environment, preventing a parent process from getting disconnected when a child exits without using the connection. The reports from Peter Rabbitson and Aran Deltac and subsequent discussion with Tim Bunce led to the addition of this attribute in DBI 1.614, which is now the recommended version of DBI. - `DESTROY()` no longer pings the database or rolls back transactions. It now simply calls `disconnect`. This avoids warnings during global destruction, and doesn't seem necessary anyway, as the DBI does these things during global destruction (and always has). Thanks to Matt Trout for the heads-up. - `DESTROY()` now clears `CachedKids`, following the precedent of DBIx::Class. May not be needed for recent-ish drivers, but seems harmless and it's nice to avoid warnings were possible. Reported by Matt Trout. - The `connected()` method no longer `local`ly sets `RaiseError`. It instead leaves that to the drivers (currenly only Driver::Oracle). - The exception classes `DBIx::Connector::TxnRollbackError` and `DBIx::Connector::SvpRollbackError` now use `our @ISA =` instead of `use base` to inherit from `DBIx::Connector::RollbackError. This is to avoid failures from mod_perl restarts. Suggested by Matt Trout. - Require Test::Pod 1.41 for POD tests so that `L<text|url>` is considered valid.
Diffstat (limited to 'databases/p5-DBIx-Connector')
-rw-r--r--databases/p5-DBIx-Connector/Makefile6
-rw-r--r--databases/p5-DBIx-Connector/distinfo8
2 files changed, 7 insertions, 7 deletions
diff --git a/databases/p5-DBIx-Connector/Makefile b/databases/p5-DBIx-Connector/Makefile
index 84551f7d771..e34603704cf 100644
--- a/databases/p5-DBIx-Connector/Makefile
+++ b/databases/p5-DBIx-Connector/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2010/08/21 16:33:00 seb Exp $
+# $NetBSD: Makefile,v 1.3 2010/09/22 21:17:15 sno Exp $
#
-DISTNAME= DBIx-Connector-0.35
+DISTNAME= DBIx-Connector-0.40
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/}
@@ -20,6 +19,7 @@ USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/DBIx/Connector/.packlist
PERL5_MODULE_TYPE= Module::Build
+BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.614
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-DBIx-Connector/distinfo b/databases/p5-DBIx-Connector/distinfo
index 89b0f90ff93..7becaae19b3 100644
--- a/databases/p5-DBIx-Connector/distinfo
+++ b/databases/p5-DBIx-Connector/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/07/31 07:11:05 sno Exp $
+$NetBSD: distinfo,v 1.2 2010/09/22 21:17:16 sno Exp $
-SHA1 (DBIx-Connector-0.35.tar.gz) = a50090d7ebc6295389973425ec3b789b5af06b2b
-RMD160 (DBIx-Connector-0.35.tar.gz) = caa424f26a7d583df01f3de0606f745b4228ae09
-Size (DBIx-Connector-0.35.tar.gz) = 31084 bytes
+SHA1 (DBIx-Connector-0.40.tar.gz) = 908599e2c595c8769556830e9db7946a272f3068
+RMD160 (DBIx-Connector-0.40.tar.gz) = f293a86cc7273edde873a7551af32768af59b89a
+Size (DBIx-Connector-0.40.tar.gz) = 32490 bytes