ccaac3517e
pkgsrc changes: - Adjust dependencies (mark fullfilled by perl CORE) Upstream changes: Version 1.25, release March 15th, 2010 ---------------------------------------------- [Bug fixes] * Keep org_table_names with schema information to allow derived table classes to handle as it seems reasonable there * Separate columns with "\0" in multi-column aggregation to be able to difference between ('1','1foo') and ('11','foo') [Misc] * More resources added to META.yml Version 1.24, release March 15th, 2010 ---------------------------------------------- [Misc] * Ignore *.rej in MANIFEST.SKIP (fixes RT #52081 reported by Lars Thegler) [Bug fixes] * Add missing import of _INSTANCE in SQL::Statement::Function::NumericEval fixes RT #52356 - reported by Detlef Pilzecker) * Fix wrongly discarded DISTINCT clause (RT#53186) [Improvements] * Fix parsing errors of plain numbers (RT#16931) * Fix parsing errors of nested calculation / functions (RT#16931, RT#52356) * Rewrite result calculation of aggregation functions (simplify code, speed up) * Upgrade Makefile.PL (patch from Alexandr Ciornii) to handle different EU::MM versions and abilities properly * Update documentation to show how 'column_defs' and SQL::Statement::Term instances shall be used * Introduce SQL::Dialect::Role providing ini-style data access to SQL::Dialects (patch from Michael Schwern) [Things that may break your code] * SQL::Parser now didn't deliver a struct containing 'column_names', 'computed_columns' and 'set_functions' - it's combined into one member 'column_defs'. * Minimum required perl version is now 5.8 - upcoming next version of DBI requires perl 5.8, too - and I could simplify some code that's why Version 1.23, release November 20th, 2009 ---------------------------------------------- [Misc] * Applied patch from Marc Espie which fixes several orthographic errors in SQL::Statement::Syntax documentation. * Added a fixed version of test reported via RT #34121 [Bug fixes] * Fix an issue in UPDATE command which 'shift's the values from the list of parameters which causes there're no more parameters left after first row get's updated (Fixes RT #50788) * Fix aggregate function handling of new code since 1.21_01 * Correct handling of DISTINCT in aggregate functions [Improvements] * Add support for tables/columns starting with '_' for CSV and AnyData, which is usually forbidden by ANSI SQL * Add support for inserting multiple lines with one statement (fixes RT #31730) * Handle ANSI 'IS NULL' and CVS/AnyData 'IS NULL' different [Things that may break your code] * row_value now expects up to two arguments
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2010/03/16 17:30:08 sno Exp $
|
|
#
|
|
|
|
DISTNAME= SQL-Statement-1.25
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5sqs
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SQL/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/SQL-Statement/
|
|
COMMENT= Small, abstract SQL engine
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.86}:../../devel/p5-Test-Simple
|
|
|
|
DEPENDS+= p5-Clone>=0.30:../../devel/p5-Clone
|
|
DEPENDS+= p5-Params-Util>=1.00:../../devel/p5-Params-Util
|
|
|
|
PERL5_PACKLIST= auto/SQL/Statement/.packlist
|
|
MAKE_ENV+= SQL_STATEMENT_WARN_UPDATE=sure
|
|
|
|
#pre-configure:
|
|
# cd ${WRKSRC} && find `pwd` -name "*.orig" -type f | xargs rm
|
|
|
|
post-extract:
|
|
${FIND} ${WRKSRC} -name "*.pm" -type f -exec ${CHMOD} -x {} \;
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../databases/p5-DBI/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.609
|
|
BUILDLINK_DEPMETHOD.p5-DBI= build
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|