pkgsrc/databases/p5-Jifty-DBI/Makefile
seb 4221cc9b06 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
2009-08-23 22:27:47 +00:00

46 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2009/08/23 22:27:47 seb Exp $
DISTNAME= Jifty-DBI-0.58
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Jifty/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Jifty-DBI/
COMMENT= Perl 5 object-relational persistence framework
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Jifty/DBI/.packlist
DEPENDS+= p5-Cache-Memcached-[0-9]*:../../devel/p5-Cache-Memcached
DEPENDS+= p5-Cache-Simple-TimedExpiry>=0.21:../../devel/p5-Cache-Simple-TimedExpiry
DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor
DEPENDS+= p5-Class-Data-Inheritable-[0-9]*:../../devel/p5-Class-Data-Inheritable
DEPENDS+= p5-Class-ReturnValue>=0.40:../../devel/p5-Class-ReturnValue
DEPENDS+= p5-Class-Trigger>=0.12:../../devel/p5-Class-Trigger
DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone
DEPENDS+= p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite
DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
DEPENDS+= p5-DBIx-DBSchema>=0.34:../../databases/p5-DBIx-DBSchema
DEPENDS+= p5-Data-Page-[0-9]*:../../devel/p5-Data-Page
DEPENDS+= p5-DateTime-Format-ISO8601-[0-9]*:../../time/p5-DateTime-Format-ISO8601
DEPENDS+= p5-DateTime-Format-Strptime-[0-9]*:../../time/p5-DateTime-Format-Strptime
DEPENDS+= p5-DateTime>=0.34:../../time/p5-DateTime
DEPENDS+= p5-Encode>=2.10:../../textproc/p5-Encode
DEPENDS+= p5-Exporter-Lite-[0-9]*:../../devel/p5-Exporter-Lite
DEPENDS+= p5-Hash-Merge-[0-9]*:../../devel/p5-Hash-Merge
DEPENDS+= p5-Lingua-EN-Inflect-[0-9]*:../../textproc/p5-Lingua-EN-Inflect
DEPENDS+= p5-Object-Declare>=0.22:../../devel/p5-Object-Declare
DEPENDS+= p5-Scalar-Defer>=0.10:../../devel/p5-Scalar-Defer
DEPENDS+= p5-Test-Warn>=0.10:../../devel/p5-Test-Warn
DEPENDS+= p5-Time-Duration-Parse>=0.05:../../time/p5-Time-Duration-Parse
DEPENDS+= p5-Time-Duration-[0-9]*:../../time/p5-Time-Duration
DEPENDS+= p5-UNIVERSAL-require>=0.11:../../devel/p5-UNIVERSAL-require
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= p5-YAML-Syck-[0-9]*:../../textproc/p5-YAML-Syck
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"