Wed Sep 22 21:17:16 2010 UTC ()
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.


(sno)
diff -r1.2 -r1.3 pkgsrc/databases/p5-DBIx-Connector/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/databases/p5-DBIx-Connector/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/databases/p5-DBIx-Connector/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/p5-DBIx-Connector/Makefile 2010/08/21 16:33:00 1.2
+++ pkgsrc/databases/p5-DBIx-Connector/Makefile 2010/09/22 21:17:15 1.3
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: Makefile,v 1.2 2010/08/21 16:33:00 seb Exp $ 1# $NetBSD: Makefile,v 1.3 2010/09/22 21:17:15 sno Exp $
2# 2#
3 3
4DISTNAME= DBIx-Connector-0.35 4DISTNAME= DBIx-Connector-0.40
5PKGNAME= p5-${DISTNAME} 5PKGNAME= p5-${DISTNAME}
6PKGREVISION= 1 
7CATEGORIES= databases perl5 6CATEGORIES= databases perl5
8MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/}
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://search.cpan.org/dist/DBIx-Connector/ 10HOMEPAGE= http://search.cpan.org/dist/DBIx-Connector/
12COMMENT= Fast, safe DBI connection and transaction management 11COMMENT= Fast, safe DBI connection and transaction management
13LICENSE= ${PERL5_LICENSE} 12LICENSE= ${PERL5_LICENSE}
14 13
15BUILD_DEPENDS+= p5-Test-MockModule>=0.05:../../devel/p5-Test-MockModule 14BUILD_DEPENDS+= p5-Test-MockModule>=0.05:../../devel/p5-Test-MockModule
16 15
17PKG_DESTDIR_SUPPORT= user-destdir 16PKG_DESTDIR_SUPPORT= user-destdir
18 17
19USE_LANGUAGES= # empty 18USE_LANGUAGES= # empty
20PERL5_PACKLIST= auto/DBIx/Connector/.packlist 19PERL5_PACKLIST= auto/DBIx/Connector/.packlist
21PERL5_MODULE_TYPE= Module::Build 20PERL5_MODULE_TYPE= Module::Build
22 21
 22BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.614
23.include "../../databases/p5-DBI/buildlink3.mk" 23.include "../../databases/p5-DBI/buildlink3.mk"
24.include "../../lang/perl5/module.mk" 24.include "../../lang/perl5/module.mk"
25.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/databases/p5-DBIx-Connector/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/p5-DBIx-Connector/distinfo 2010/07/31 07:11:05 1.1.1.1
+++ pkgsrc/databases/p5-DBIx-Connector/distinfo 2010/09/22 21:17:16 1.2
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.1.1.1 2010/07/31 07:11:05 sno Exp $ 1$NetBSD: distinfo,v 1.2 2010/09/22 21:17:16 sno Exp $
2 2
3SHA1 (DBIx-Connector-0.35.tar.gz) = a50090d7ebc6295389973425ec3b789b5af06b2b 3SHA1 (DBIx-Connector-0.40.tar.gz) = 908599e2c595c8769556830e9db7946a272f3068
4RMD160 (DBIx-Connector-0.35.tar.gz) = caa424f26a7d583df01f3de0606f745b4228ae09 4RMD160 (DBIx-Connector-0.40.tar.gz) = f293a86cc7273edde873a7551af32768af59b89a
5Size (DBIx-Connector-0.35.tar.gz) = 31084 bytes 5Size (DBIx-Connector-0.40.tar.gz) = 32490 bytes