pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/p5-SQL-Abstract Update from version 1.24nb1 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/73b707083cf3
branches: trunk
changeset: 556109:73b707083cf3
user: seb <seb%pkgsrc.org@localhost>
date: Mon Mar 16 22:30:49 2009 +0000
description:
Update from version 1.24nb1 to version 1.50.
Approved by MAINTAINER.
Pkgsrc changes:
- Adjust dependencies
- Prevent installation of a temporary file included in the upstream
tarball
Upstream changes:
revision 1.50 2009-03-10 12:30 (UTC)
- fixed the problem with values() not behaving the same as the rest of the code (RT#43483)
- fixed interjecting arrayrefref into a where clause
- added value-only insert test with a literal SQL snippet
- cleanup and enhancement of t/03values.t
- better handling of borked SQL in tests
- deal properly with parentheses in is_same_sql_bind()
- fixed test subs (is_same_*) in SQL::Abstract::Test to return the correct test value
- do not version MANIFEST
Version 1.50 was a major internal refactoring of SQL::Abstract.
Great care has been taken to preserve the published behavior
documented in previous versions in the 1.* family; however,
some features that were previously undocumented, or behaved.
differently from the documentation, had to be changed in order
to clarify the semantics. Hence, client code that was relying
on some dark areas of SQL::Abstract v1.* might behave differently
in v1.50.
----------------------------
revision 1.49_04 2009-03-03
- add support for a [\%column_meta => value] bind value format
----------------------------
revision 1.49_03 2009-02-17
- clarify syntax of \['...', @bind] when used with a bindtype
of 'columns'
----------------------------
revision 1.49_02 2009-02-16
- added an AST-aware SQL::Abstract::Test library for sql syntax tests
- vastly expanded test coverage
- support for the { operator => \'...'|\['...', @bind] } syntax
allowing to embed arbitrary operators on the LHS
- fixed multiple regressions wrt DBIx::Class
----------------------------
revision 1.49_01 2009-02-11
- support for literal SQL through the [$sql, bind] syntax.
- added -nest1, -nest2 or -nest_1, -nest_2, ...
- optional support for array datatypes
- defensive programming : check arguments to functions/methods
- fixed bug with global logic of -and/-or (no side-effects any more)
- changed logic for distributing an op over arrayrefs
- fixed semantics of _bindtype on array args
- dropped the _anoncopy of the %where tree. No longer necessary.
- dropped the _modlogic function
- Make col => [] and col => {$op => [] } DTRT or die instead of generating
broken SQL. Added tests for this.
- Added { -desc => 'column' } order by support
- Tiny "$_"-related fix for { -desc => 'columns'} order by support
tests + docs
diffstat:
databases/p5-SQL-Abstract/Makefile | 12 +++++++++---
databases/p5-SQL-Abstract/distinfo | 8 ++++----
2 files changed, 13 insertions(+), 7 deletions(-)
diffs (43 lines):
diff -r ed9fd06fda0d -r 73b707083cf3 databases/p5-SQL-Abstract/Makefile
--- a/databases/p5-SQL-Abstract/Makefile Mon Mar 16 22:26:21 2009 +0000
+++ b/databases/p5-SQL-Abstract/Makefile Mon Mar 16 22:30:49 2009 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2008/10/19 19:17:46 he Exp $
+# $NetBSD: Makefile,v 1.9 2009/03/16 22:30:49 seb Exp $
#
-DISTNAME= SQL-Abstract-1.24
+DISTNAME= SQL-Abstract-1.50
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
SVR4_PKGNAME= p5sqa
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SQL/}
@@ -14,7 +13,14 @@
PKG_DESTDIR_SUPPORT= user-destdir
+DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
+BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
+BUILD_DEPENDS+= p5-Test-Warn-[0-9]*:../../devel/p5-Test-Warn
+
PERL5_PACKLIST= auto/SQL/Abstract/.packlist
+post-patch:
+ -rm -f ${WRKSRC}/lib/SQL/.Abstract.pm.swp
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ed9fd06fda0d -r 73b707083cf3 databases/p5-SQL-Abstract/distinfo
--- a/databases/p5-SQL-Abstract/distinfo Mon Mar 16 22:26:21 2009 +0000
+++ b/databases/p5-SQL-Abstract/distinfo Mon Mar 16 22:30:49 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2008/07/14 18:33:21 he Exp $
+$NetBSD: distinfo,v 1.5 2009/03/16 22:30:49 seb Exp $
-SHA1 (SQL-Abstract-1.24.tar.gz) = 0c0eb25591c6889439b53140af554b0c24f3814e
-RMD160 (SQL-Abstract-1.24.tar.gz) = f468271208638d606865dfeeb16c4c25b2f6ad9c
-Size (SQL-Abstract-1.24.tar.gz) = 27841 bytes
+SHA1 (SQL-Abstract-1.50.tar.gz) = bfc4702c4bdaa6b05b4ddccb4f078bf8f9250dbe
+RMD160 (SQL-Abstract-1.50.tar.gz) = 6e6924710fbab2349fdf89b293adb71d0165d89c
+Size (SQL-Abstract-1.50.tar.gz) = 66160 bytes
Home |
Main Index |
Thread Index |
Old Index