diff options
author | seb <seb@pkgsrc.org> | 2009-08-23 22:27:47 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2009-08-23 22:27:47 +0000 |
commit | d6f7180569f017348e97f5c2e1c1294e0c05736c (patch) | |
tree | 7133b2d07af26284c970abe33ed5d57fe709cf6c /databases/p5-Jifty-DBI | |
parent | cca574278482f1c89efa1cbec44df2e50aeba7ec (diff) | |
download | pkgsrc-d6f7180569f017348e97f5c2e1c1294e0c05736c.tar.gz |
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
Diffstat (limited to 'databases/p5-Jifty-DBI')
-rw-r--r-- | databases/p5-Jifty-DBI/Makefile | 6 | ||||
-rw-r--r-- | databases/p5-Jifty-DBI/distinfo | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/databases/p5-Jifty-DBI/Makefile b/databases/p5-Jifty-DBI/Makefile index 4515ea807bd..f0c5a95f71a 100644 --- a/databases/p5-Jifty-DBI/Makefile +++ b/databases/p5-Jifty-DBI/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2009/04/12 10:35:45 he Exp $ +# $NetBSD: Makefile,v 1.4 2009/08/23 22:27:47 seb Exp $ -DISTNAME= Jifty-DBI-0.53 +DISTNAME= Jifty-DBI-0.58 PKGNAME= p5-${DISTNAME} CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Jifty/} @@ -8,6 +8,7 @@ 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 @@ -40,7 +41,6 @@ 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 -DEPENDS+= {perl>=5.10,p5-version-[0-9]*}:../../devel/p5-version .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/p5-Jifty-DBI/distinfo b/databases/p5-Jifty-DBI/distinfo index 6d8d17917b3..897ef788348 100644 --- a/databases/p5-Jifty-DBI/distinfo +++ b/databases/p5-Jifty-DBI/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2009/04/12 10:35:45 he Exp $ +$NetBSD: distinfo,v 1.3 2009/08/23 22:27:47 seb Exp $ -SHA1 (Jifty-DBI-0.53.tar.gz) = eae11300fa0b8cf48b54e365ba97c008ac0f9cc5 -RMD160 (Jifty-DBI-0.53.tar.gz) = 3ca6888883b67abcd57ed972fed2a53c62c9aaf0 -Size (Jifty-DBI-0.53.tar.gz) = 150214 bytes +SHA1 (Jifty-DBI-0.58.tar.gz) = b3d93b56fc3e9b622393bfa5af8cdaee5cc87d41 +RMD160 (Jifty-DBI-0.58.tar.gz) = 99b03f2463faaadcf2e5d7f10470f86be15ff305 +Size (Jifty-DBI-0.58.tar.gz) = 149874 bytes |