2016-06-08 21:22:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.47 2016/06/08 19:22:30 wiz Exp $
|
2000-10-23 15:39:52 +02:00
|
|
|
#
|
|
|
|
|
2016-04-16 15:48:54 +02:00
|
|
|
DISTNAME= SQL-Statement-1.410
|
2000-10-23 15:39:52 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2016-06-08 21:22:13 +02:00
|
|
|
PKGREVISION= 1
|
2000-10-23 15:39:52 +02:00
|
|
|
CATEGORIES= databases perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SQL/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
Updating from version 1.15nb1 to 1.17.
Pkgsrc changes:
o Update patch to Makefile.PL to avoid reading stdin.
Upstream changes: (Nothing marked 1.17 from upstream...)
Version 1.16_04, released 4 January, 2009
------------------------------------------
* added tests to prove valid quoting (most of them fail)
* Reformat the source
* add some (profiled) tweaks as removing useless regex to speed up SELECT
* Fixed Bugs:
* 14217 Does not correctly handle SQL statements with comments
* 15686 Join syntax is case-sensitive, and common columns in natural
joins are "ambiguous" [patch]
* 13080 Cannot update a field based on its previous value
* 26058 functions on computed columns aliased to the underlying column
name are not called
Version 1.16_03, released 1 January, 2009
------------------------------------------
* removed *.orig and *.rej relicts
Version 1.16_02, released 1 January, 2009
------------------------------------------
* Changing join_2_tables to reduce memory usage when joining a lot of tables
* Fixed Bugs:
* 15688 Columns aliased with double quotes are a fatal error
* 16579 Speed optimizations
* 30590 Bug in SQL::Statement::is_number()
* 41875 Bug in synopsis example
Version 1.16_01, released 1 January, 2009
------------------------------------------
* With this release, I'd like to welcome Jens Rehsack as co-maintainer of
the SQL::Statement and SQL::Parser modules. Jens has added in some
great improvements.
Thanks Jens! -- Jeff
* Adding a lot of join tests (once from Jeff, 48 from
PostgreSQL official handbook) - no error of them will be corrected in the
first run
Thanks to Alexander Breibach <alexander.breibach@gmx.de> -- Jens
2009-01-19 23:54:24 +01:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/SQL-Statement/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Small, abstract SQL engine
|
Updating databases/p5-SQL-Statement from 1.20 to 1.22
pkgsrc changes:
- Adding license definition
- Adjusting dependencies
- Ensure build
- remove *.orig removal (may break some SunOS builds)
Upstream changes:
Version 1.22, release October 10th, 2009
----------------------------------------------
[Misc]
* Add missing changelog - no code changes
Version 1.21, release October 10th, 2009
----------------------------------------------
[Misc]
* remove version dependency to check previously installed version
* add DBD::File as "Test" requirement
Version 1.21_8, release October 5th, 2009
----------------------------------------------
[Bug fixes]
* Add additional test for bug-fix in 1.21_7 to t/18bigjoin.t
[Misc]
* Correct some typo's in POD
Version 1.21_7, not public released
----------------------------------------------
[Bug fixes]
* Don't fail for non-existent columns introduced by functions
in joins
Version 1.21_6, release September 24th, 2009
----------------------------------------------
[Bug fixes]
* Don't abort Makefile.PL when in automated smoke tests
Version 1.21_5, release September 23th, 2009
----------------------------------------------
[Bug fixes]
* table order isn't wrongly used in order of appearance when SQL::Parser
couldn't determine an order
* Some internal fixes
[Misc]
* Updated dependency to Params::Util to non-leaking 1.00
* Note dependency to Carp and Data::Dumper
* rely on version to compare versions
* Update POD for terms
* Update
Version 1.21_4, release September 21th, 2009
----------------------------------------------
[Bug fixes]
* modify regex to match types to fix problems with Perl 5.6.2
* add DESTROY methods to ensure clean up
* fix lower casing internal table names when joining tables
* replace parameter shifting by assigning @_ to the list of parameters
Version 1.21_3, release September 17th, 2009
----------------------------------------------
[Things that may break your code]
* When someone accesses the where_clause attribute of the SQL::Statement
instance - be aware that now IN and BETWEEN can be native entries
[Bug fixes]
* convert operation to upper case when surely initialized
[Improvements]
* IN and BETWEEN are now native operations - they are not expanded
to OR'ed equalize operations anymore
Version 1.21_2, release September 15th, 2009
----------------------------------------------
[Things that may break your code]
* modify behavior for unquoted identifiers - they're converted and
returned lower cased now (instead upper cased as in 1.21_1)
Fixes bug RT #48502
Version 1.21_1, release July 30th, 2009
------------------------------------------
[Things that may break your code]
* removed SQL::Statement::Column
* don't instantiate SQL::Statement::Functions objects
* Reworked internal column and function handling to reduce code complexity
* rows and columns aren't setable from outside a table or eval object
anymore
[Bug fixes and other changes]
* Fixed bugs:
+ RT #47292: Test failures with recent DBI
+ RT #44512: Patch for CREATE TABLE parsing
+ RT #42676: tests 16 failed
2009-10-17 16:25:04 +02:00
|
|
|
LICENSE= ${PERL5_LICENSE}
|
2000-10-23 15:39:52 +02:00
|
|
|
|
2009-02-25 22:06:00 +01:00
|
|
|
DEPENDS+= p5-Clone>=0.30:../../devel/p5-Clone
|
Updating databases/p5-SQL-Statement from 1.20 to 1.22
pkgsrc changes:
- Adding license definition
- Adjusting dependencies
- Ensure build
- remove *.orig removal (may break some SunOS builds)
Upstream changes:
Version 1.22, release October 10th, 2009
----------------------------------------------
[Misc]
* Add missing changelog - no code changes
Version 1.21, release October 10th, 2009
----------------------------------------------
[Misc]
* remove version dependency to check previously installed version
* add DBD::File as "Test" requirement
Version 1.21_8, release October 5th, 2009
----------------------------------------------
[Bug fixes]
* Add additional test for bug-fix in 1.21_7 to t/18bigjoin.t
[Misc]
* Correct some typo's in POD
Version 1.21_7, not public released
----------------------------------------------
[Bug fixes]
* Don't fail for non-existent columns introduced by functions
in joins
Version 1.21_6, release September 24th, 2009
----------------------------------------------
[Bug fixes]
* Don't abort Makefile.PL when in automated smoke tests
Version 1.21_5, release September 23th, 2009
----------------------------------------------
[Bug fixes]
* table order isn't wrongly used in order of appearance when SQL::Parser
couldn't determine an order
* Some internal fixes
[Misc]
* Updated dependency to Params::Util to non-leaking 1.00
* Note dependency to Carp and Data::Dumper
* rely on version to compare versions
* Update POD for terms
* Update
Version 1.21_4, release September 21th, 2009
----------------------------------------------
[Bug fixes]
* modify regex to match types to fix problems with Perl 5.6.2
* add DESTROY methods to ensure clean up
* fix lower casing internal table names when joining tables
* replace parameter shifting by assigning @_ to the list of parameters
Version 1.21_3, release September 17th, 2009
----------------------------------------------
[Things that may break your code]
* When someone accesses the where_clause attribute of the SQL::Statement
instance - be aware that now IN and BETWEEN can be native entries
[Bug fixes]
* convert operation to upper case when surely initialized
[Improvements]
* IN and BETWEEN are now native operations - they are not expanded
to OR'ed equalize operations anymore
Version 1.21_2, release September 15th, 2009
----------------------------------------------
[Things that may break your code]
* modify behavior for unquoted identifiers - they're converted and
returned lower cased now (instead upper cased as in 1.21_1)
Fixes bug RT #48502
Version 1.21_1, release July 30th, 2009
------------------------------------------
[Things that may break your code]
* removed SQL::Statement::Column
* don't instantiate SQL::Statement::Functions objects
* Reworked internal column and function handling to reduce code complexity
* rows and columns aren't setable from outside a table or eval object
anymore
[Bug fixes and other changes]
* Fixed bugs:
+ RT #47292: Test failures with recent DBI
+ RT #44512: Patch for CREATE TABLE parsing
+ RT #42676: tests 16 failed
2009-10-17 16:25:04 +02:00
|
|
|
DEPENDS+= p5-Params-Util>=1.00:../../devel/p5-Params-Util
|
2015-08-06 03:44:40 +02:00
|
|
|
DEPENDS+= p5-Math-Base-Convert>=0:../../math/p5-Math-Base-Convert
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= p5-Test-Deep>=0:../../devel/p5-Test-Deep
|
2009-02-25 22:06:00 +01:00
|
|
|
|
Updating package for CPAN distribution SQL-Statement, providing pure Perl
implementation of an SQL engine.
pkgsrc changes:
- killing DBI build dependency - was an error introduced by the author
for better test coverage, leads easily to circular dependency, bad stuff
==> kicking
- since 5.10.1 a suitable test framework is distributed with Perl5 core
==> no reason to mention it explicitely
- Bumping conflict DBI version to 1.622 (with 1.623 DBI::DBD::SqlEngine
received great improve - and forces a lot of fixes in SQL::Statement
and vice versa)
Upstream changes since 1.402:
Version 1.405, released June 17, 2013
-------------------------------------------------
[Bug fixes]
* INSERT now expands incomplete rows (Thanks to H.Merijn Brand)
Version 1.404, released May 23, 2013
-------------------------------------------------
[Bug fixes]
* re-enable cleanup test_output* after test done
* recommend Text::Soundex and do soundex-test only when have it,
because it's going to be removed from core for Perl 5.19 (thank Merijn)
Version 1.403, released May 22, 2013
-------------------------------------------------
[Bug fixes]
* fix documentation (rt#84889 - thanks Xavier Guimard and Florian,
rt#85257 - thanks Andreas Koenig)
2013-06-22 11:21:22 +02:00
|
|
|
CONFLICTS+= p5-DBI<=1.622
|
2010-07-17 10:20:52 +02:00
|
|
|
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/SQL/Statement/.packlist
|
Updating databases/p5-SQL-Statement from 1.20 to 1.22
pkgsrc changes:
- Adding license definition
- Adjusting dependencies
- Ensure build
- remove *.orig removal (may break some SunOS builds)
Upstream changes:
Version 1.22, release October 10th, 2009
----------------------------------------------
[Misc]
* Add missing changelog - no code changes
Version 1.21, release October 10th, 2009
----------------------------------------------
[Misc]
* remove version dependency to check previously installed version
* add DBD::File as "Test" requirement
Version 1.21_8, release October 5th, 2009
----------------------------------------------
[Bug fixes]
* Add additional test for bug-fix in 1.21_7 to t/18bigjoin.t
[Misc]
* Correct some typo's in POD
Version 1.21_7, not public released
----------------------------------------------
[Bug fixes]
* Don't fail for non-existent columns introduced by functions
in joins
Version 1.21_6, release September 24th, 2009
----------------------------------------------
[Bug fixes]
* Don't abort Makefile.PL when in automated smoke tests
Version 1.21_5, release September 23th, 2009
----------------------------------------------
[Bug fixes]
* table order isn't wrongly used in order of appearance when SQL::Parser
couldn't determine an order
* Some internal fixes
[Misc]
* Updated dependency to Params::Util to non-leaking 1.00
* Note dependency to Carp and Data::Dumper
* rely on version to compare versions
* Update POD for terms
* Update
Version 1.21_4, release September 21th, 2009
----------------------------------------------
[Bug fixes]
* modify regex to match types to fix problems with Perl 5.6.2
* add DESTROY methods to ensure clean up
* fix lower casing internal table names when joining tables
* replace parameter shifting by assigning @_ to the list of parameters
Version 1.21_3, release September 17th, 2009
----------------------------------------------
[Things that may break your code]
* When someone accesses the where_clause attribute of the SQL::Statement
instance - be aware that now IN and BETWEEN can be native entries
[Bug fixes]
* convert operation to upper case when surely initialized
[Improvements]
* IN and BETWEEN are now native operations - they are not expanded
to OR'ed equalize operations anymore
Version 1.21_2, release September 15th, 2009
----------------------------------------------
[Things that may break your code]
* modify behavior for unquoted identifiers - they're converted and
returned lower cased now (instead upper cased as in 1.21_1)
Fixes bug RT #48502
Version 1.21_1, release July 30th, 2009
------------------------------------------
[Things that may break your code]
* removed SQL::Statement::Column
* don't instantiate SQL::Statement::Functions objects
* Reworked internal column and function handling to reduce code complexity
* rows and columns aren't setable from outside a table or eval object
anymore
[Bug fixes and other changes]
* Fixed bugs:
+ RT #47292: Test failures with recent DBI
+ RT #44512: Patch for CREATE TABLE parsing
+ RT #42676: tests 16 failed
2009-10-17 16:25:04 +02:00
|
|
|
MAKE_ENV+= SQL_STATEMENT_WARN_UPDATE=sure
|
2000-10-23 15:39:52 +02:00
|
|
|
|
Updating databases/p5-SQL-Statement from 1.20 to 1.22
pkgsrc changes:
- Adding license definition
- Adjusting dependencies
- Ensure build
- remove *.orig removal (may break some SunOS builds)
Upstream changes:
Version 1.22, release October 10th, 2009
----------------------------------------------
[Misc]
* Add missing changelog - no code changes
Version 1.21, release October 10th, 2009
----------------------------------------------
[Misc]
* remove version dependency to check previously installed version
* add DBD::File as "Test" requirement
Version 1.21_8, release October 5th, 2009
----------------------------------------------
[Bug fixes]
* Add additional test for bug-fix in 1.21_7 to t/18bigjoin.t
[Misc]
* Correct some typo's in POD
Version 1.21_7, not public released
----------------------------------------------
[Bug fixes]
* Don't fail for non-existent columns introduced by functions
in joins
Version 1.21_6, release September 24th, 2009
----------------------------------------------
[Bug fixes]
* Don't abort Makefile.PL when in automated smoke tests
Version 1.21_5, release September 23th, 2009
----------------------------------------------
[Bug fixes]
* table order isn't wrongly used in order of appearance when SQL::Parser
couldn't determine an order
* Some internal fixes
[Misc]
* Updated dependency to Params::Util to non-leaking 1.00
* Note dependency to Carp and Data::Dumper
* rely on version to compare versions
* Update POD for terms
* Update
Version 1.21_4, release September 21th, 2009
----------------------------------------------
[Bug fixes]
* modify regex to match types to fix problems with Perl 5.6.2
* add DESTROY methods to ensure clean up
* fix lower casing internal table names when joining tables
* replace parameter shifting by assigning @_ to the list of parameters
Version 1.21_3, release September 17th, 2009
----------------------------------------------
[Things that may break your code]
* When someone accesses the where_clause attribute of the SQL::Statement
instance - be aware that now IN and BETWEEN can be native entries
[Bug fixes]
* convert operation to upper case when surely initialized
[Improvements]
* IN and BETWEEN are now native operations - they are not expanded
to OR'ed equalize operations anymore
Version 1.21_2, release September 15th, 2009
----------------------------------------------
[Things that may break your code]
* modify behavior for unquoted identifiers - they're converted and
returned lower cased now (instead upper cased as in 1.21_1)
Fixes bug RT #48502
Version 1.21_1, release July 30th, 2009
------------------------------------------
[Things that may break your code]
* removed SQL::Statement::Column
* don't instantiate SQL::Statement::Functions objects
* Reworked internal column and function handling to reduce code complexity
* rows and columns aren't setable from outside a table or eval object
anymore
[Bug fixes and other changes]
* Fixed bugs:
+ RT #47292: Test failures with recent DBI
+ RT #44512: Patch for CREATE TABLE parsing
+ RT #42676: tests 16 failed
2009-10-17 16:25:04 +02:00
|
|
|
#pre-configure:
|
|
|
|
# cd ${WRKSRC} && find `pwd` -name "*.orig" -type f | xargs rm
|
2009-03-10 18:38:24 +01:00
|
|
|
|
Updating databases/p5-SQL-Statement from 1.22 to 1.25
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
2010-03-16 18:30:08 +01:00
|
|
|
post-extract:
|
|
|
|
${FIND} ${WRKSRC} -name "*.pm" -type f -exec ${CHMOD} -x {} \;
|
|
|
|
|
2002-10-14 00:22:45 +02:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2000-10-23 15:39:52 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|