Sun Aug 23 22:27:47 2009 UTC ()
Update p5-Jifty-DBI from version 0.53 to version 0.58.

Pkgsrc changes:
- Perl 5.10, which includes version.pm, is now required by pkgsrc, hence
the dependency on devel/p5-version can be removed
- Set LICENSE

Upstream changes:
0.58 Tue Jul 14 03:21:21 EST 2009
- Possible incompatibilities:
    * Modules which use Jifty::DBI::Schema will have strict and warnings
      automatically applied to them.

- Features:
    * Jifty::DBI::Handle now has methods for supported_drivers,
      available_drivers, and is_available_driver.

- Fixes:
    * Remove unused _limit_clause method
    * Various error message improvements
    * Use ->new_item instead of ->record_class->new since it was a performance
        hit in Jifty
    * Avoid cals to ->new_item where possible

- Documentation:
    * Document connect's quirky return value

0.57 Tue May 19 08:02:03 EDT 2009
- Major bugfixes:
    * Use eval {} in Jifty::DBI::Handle's DESTROY block when manipulating DBI
        Alterations to the DBI object in the DESTROY block must be wrapped in
        an eval {}, as object destruction order is not guaranteed during
        global destruction, and this interacts poorly with DBI's tie'd object.
    * During DESTROY, don't explicitly disconnect a dbh set InactiveDestroy
        The InactiveDestroy flag on DBI objects prevent them from being
        implicitly disconnected when they go out of scope -- for example, in
        the case where a process has forked, and two processes hold the socket
        open.
        However, it does not prevent them from being _explicitly_
        disconnected, as we were doing in Jifty::DBI::Handle's DESTROY method.
        This caused InactiveDestroy to never kick in, causing either a shared
        socket, or two closed handles after a fork.  We prevent this by having
        Jifty::DBI::Handle respect InactiveDestroy in its DESTROY method.
    * Do not use Scalar::Defer defaults for columns' defaults in the db

- New features:
    * Add a display_length attribute on columns
    * add schema manipulation tables: rename_column and rename_table
    * If a column's default is a record, call its id method

- Fixes:
    * Improve SQL error message and avoid its duplication
    * Pull the input_ and output_filters out of the instance hash

- Tests:
    * Added a unit test for the SaltHash filter
    * use drop_table_if_exists in tests
    * add drop_table_if_exists in t/utils.t
    * unconditionaly drop tables for testing
    * test rename_table
    * add tests for rename_column
    * SaltHash test does not need an is_deeply()
    * Don't explicitly disconnect the handle, DESTROY handles it better
    * Test for warnings instead of letting them leak into the test output


(seb)
diff -r1.3 -r1.4 pkgsrc/databases/p5-Jifty-DBI/Makefile
diff -r1.2 -r1.3 pkgsrc/databases/p5-Jifty-DBI/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/databases/p5-Jifty-DBI/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/p5-Jifty-DBI/Makefile 2009/04/12 10:35:45 1.3
+++ pkgsrc/databases/p5-Jifty-DBI/Makefile 2009/08/23 22:27:47 1.4
@@ -1,23 +1,24 @@ @@ -1,23 +1,24 @@
1# $NetBSD: Makefile,v 1.3 2009/04/12 10:35:45 he Exp $ 1# $NetBSD: Makefile,v 1.4 2009/08/23 22:27:47 seb Exp $
2 2
3DISTNAME= Jifty-DBI-0.53 3DISTNAME= Jifty-DBI-0.58
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5CATEGORIES= databases perl5 5CATEGORIES= databases perl5
6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Jifty/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Jifty/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://search.cpan.org/dist/Jifty-DBI/ 9HOMEPAGE= http://search.cpan.org/dist/Jifty-DBI/
10COMMENT= Perl 5 object-relational persistence framework 10COMMENT= Perl 5 object-relational persistence framework
 11LICENSE= ${PERL5_LICENSE}
11 12
12PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
13 14
14USE_LANGUAGES= # empty 15USE_LANGUAGES= # empty
15PERL5_PACKLIST= auto/Jifty/DBI/.packlist 16PERL5_PACKLIST= auto/Jifty/DBI/.packlist
16 17
17DEPENDS+= p5-Cache-Memcached-[0-9]*:../../devel/p5-Cache-Memcached 18DEPENDS+= p5-Cache-Memcached-[0-9]*:../../devel/p5-Cache-Memcached
18DEPENDS+= p5-Cache-Simple-TimedExpiry>=0.21:../../devel/p5-Cache-Simple-TimedExpiry 19DEPENDS+= p5-Cache-Simple-TimedExpiry>=0.21:../../devel/p5-Cache-Simple-TimedExpiry
19DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor 20DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor
20DEPENDS+= p5-Class-Data-Inheritable-[0-9]*:../../devel/p5-Class-Data-Inheritable 21DEPENDS+= p5-Class-Data-Inheritable-[0-9]*:../../devel/p5-Class-Data-Inheritable
21DEPENDS+= p5-Class-ReturnValue>=0.40:../../devel/p5-Class-ReturnValue 22DEPENDS+= p5-Class-ReturnValue>=0.40:../../devel/p5-Class-ReturnValue
22DEPENDS+= p5-Class-Trigger>=0.12:../../devel/p5-Class-Trigger 23DEPENDS+= p5-Class-Trigger>=0.12:../../devel/p5-Class-Trigger
23DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone 24DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone
@@ -30,17 +31,16 @@ DEPENDS+= p5-DateTime-Format-Strptime-[0 @@ -30,17 +31,16 @@ DEPENDS+= p5-DateTime-Format-Strptime-[0
30DEPENDS+= p5-DateTime>=0.34:../../time/p5-DateTime 31DEPENDS+= p5-DateTime>=0.34:../../time/p5-DateTime
31DEPENDS+= p5-Encode>=2.10:../../textproc/p5-Encode 32DEPENDS+= p5-Encode>=2.10:../../textproc/p5-Encode
32DEPENDS+= p5-Exporter-Lite-[0-9]*:../../devel/p5-Exporter-Lite 33DEPENDS+= p5-Exporter-Lite-[0-9]*:../../devel/p5-Exporter-Lite
33DEPENDS+= p5-Hash-Merge-[0-9]*:../../devel/p5-Hash-Merge 34DEPENDS+= p5-Hash-Merge-[0-9]*:../../devel/p5-Hash-Merge
34DEPENDS+= p5-Lingua-EN-Inflect-[0-9]*:../../textproc/p5-Lingua-EN-Inflect 35DEPENDS+= p5-Lingua-EN-Inflect-[0-9]*:../../textproc/p5-Lingua-EN-Inflect
35DEPENDS+= p5-Object-Declare>=0.22:../../devel/p5-Object-Declare 36DEPENDS+= p5-Object-Declare>=0.22:../../devel/p5-Object-Declare
36DEPENDS+= p5-Scalar-Defer>=0.10:../../devel/p5-Scalar-Defer 37DEPENDS+= p5-Scalar-Defer>=0.10:../../devel/p5-Scalar-Defer
37DEPENDS+= p5-Test-Warn>=0.10:../../devel/p5-Test-Warn 38DEPENDS+= p5-Test-Warn>=0.10:../../devel/p5-Test-Warn
38DEPENDS+= p5-Time-Duration-Parse>=0.05:../../time/p5-Time-Duration-Parse 39DEPENDS+= p5-Time-Duration-Parse>=0.05:../../time/p5-Time-Duration-Parse
39DEPENDS+= p5-Time-Duration-[0-9]*:../../time/p5-Time-Duration 40DEPENDS+= p5-Time-Duration-[0-9]*:../../time/p5-Time-Duration
40DEPENDS+= p5-UNIVERSAL-require>=0.11:../../devel/p5-UNIVERSAL-require 41DEPENDS+= p5-UNIVERSAL-require>=0.11:../../devel/p5-UNIVERSAL-require
41DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI 42DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
42DEPENDS+= p5-YAML-Syck-[0-9]*:../../textproc/p5-YAML-Syck 43DEPENDS+= p5-YAML-Syck-[0-9]*:../../textproc/p5-YAML-Syck
43DEPENDS+= {perl>=5.10,p5-version-[0-9]*}:../../devel/p5-version 
44 44
45.include "../../lang/perl5/module.mk" 45.include "../../lang/perl5/module.mk"
46.include "../../mk/bsd.pkg.mk" 46.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/databases/p5-Jifty-DBI/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/p5-Jifty-DBI/distinfo 2009/04/12 10:35:45 1.2
+++ pkgsrc/databases/p5-Jifty-DBI/distinfo 2009/08/23 22:27:47 1.3
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.2 2009/04/12 10:35:45 he Exp $ 1$NetBSD: distinfo,v 1.3 2009/08/23 22:27:47 seb Exp $
2 2
3SHA1 (Jifty-DBI-0.53.tar.gz) = eae11300fa0b8cf48b54e365ba97c008ac0f9cc5 3SHA1 (Jifty-DBI-0.58.tar.gz) = b3d93b56fc3e9b622393bfa5af8cdaee5cc87d41
4RMD160 (Jifty-DBI-0.53.tar.gz) = 3ca6888883b67abcd57ed972fed2a53c62c9aaf0 4RMD160 (Jifty-DBI-0.58.tar.gz) = 99b03f2463faaadcf2e5d7f10470f86be15ff305
5Size (Jifty-DBI-0.53.tar.gz) = 150214 bytes 5Size (Jifty-DBI-0.58.tar.gz) = 149874 bytes