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.
This commit is contained in:
sno 2010-09-22 21:17:15 +00:00
parent 71118b6911
commit 7df78a0552
2 changed files with 7 additions and 7 deletions

View file

@ -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"

View file

@ -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