pkgsrc/databases/p5-SQL-Translator/Makefile

48 lines
2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 2010/03/03 18:15:54 sno Exp $
DISTNAME= SQL-Translator-0.11005
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases perl5
pkgsrc changes: - Updating package of p5 module SQL::Translator from 0.09004 to 0.09006 - Setting license to gnu-gpl-v2 - Adjusting dependencies according to Makefile.PL Upstream changes: # ---------------------------------------------------------- # 0.09006 2009-06-10 # ---------------------------------------------------------- * Multiple test and dependency adhustments to make smokers happy * Fix YAML producer wrt extra attribute * Added support for "time(stamp) (p) with time zone" for Pg producer (mo) # ---------------------------------------------------------- # 0.09005 2009-06-08 # ---------------------------------------------------------- * Add parser support for MySQL default values with a single quote * Properly quote absolute table names in the MySQL producer * Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis) * Added CREATE VIEW subrules for mysql parser (wreis) * ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo) * XML parser support for multi-event triggers * SQLite producer support for multi-event triggers * XML parser switched from XML::XPath to XML::LibXML * Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support * MySQL producer skips length attribute for columns which do not support that attribute. Currently following column types are added to that list: date time timestamp datetime year * Switch to Module::Install (mandates minimum perl 5.005) * Major cleanup of GraphViz proucer * Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers Fix most of the problems uncovered by the roundtrip test framework Some highlights: - Rewind exhausted globs before attempting a read - Do not add xml comment header if no_comments is set - table/field counts are held per schema object, not globally - no more variable table and column names in SQLite and MSSQL - VIEW support for Pg parser, also some cleanups - The way we generate Pg create view statements was not standards compliant (per RhodiumToad in #postgresql) - Disable MSSQL view/procedure production - they never worked in the first place - SQLite/MSSQL improvements: - Support parsing of all DROP clauses - Support parsing of field-level comments - When producing do not append table names to constraint/index names
2009-06-15 21:44:04 +02:00
#MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/J/JR/JROBINSON/}
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SQL/}
MAINTAINER= pkgsrc-users@NetBSD.org
Update from version 0.09001 to 0.09002. Pkgsrc changes: o Canonicalize HOMEPAGE Upstream changes: # ---------------------------------------------------------- # 0.09002 2008-12-05 # ---------------------------------------------------------- * parsing MySQL CURRENT_TIMESTAMP as scalar ref so it can be produced without quotes (jgoulah) * Add ignore_opts parser arg (to ignore table options) in Parser::MySQL (jgoulah) * Skip tests for buggy Spreadsheet::ParseExcel versions (rbo) * Add support for skip tables parser arg in Parser::DBI::MySQL (jgoulah) * Changed behaviour of ::Producer::Oracle when returning an array of statements to make it compatible to DBI->do() * Fixed a few bugs in ::Producer::Oracle * Applied patch from jgoulah to support mysql's MERGE option * Applied patch from rbo to add support of multiple database events on a trigger * Applied patch from lukes to allow drop if exists in sqlite producer, with version >= 3.3 * Applied patch from rjbs with minor changes, now we support scalar refs in default values! * Fixed SQLite producer to end index statements in newlines, in scalar context * Decreed that all list context statements shall not end in ; or ;\n * Fixed SQLite, Diff and MySQL producers to agree with Decree. * Added support for CREATE VIEW + tests in the Pg producer (wreis) * Added support for CREATE VIEW + tests in the sqlite producer (groditi) * Added proper argument parsing and documentation to MySQL Parser and Producer (ribasushi) * Using DROP VIEW instead of OR REPLACE clause in the Pg producer, as replace only allows replacement with identical set of columns (wreis) * Added support for DROP VIEW and fixed CREATE VIEW statement in the sqlite producer (wreis) * Removed source_db and target_db accessors from Diff (throwback to old version, only output_db is used) * Support for longer varchar fields in MySQL
2008-12-20 17:29:50 +01:00
HOMEPAGE= http://search.cpan.org/dist/SQL-Translator/
COMMENT= Manipulate structured data definitions (SQL and more)
pkgsrc changes: - Updating package of p5 module SQL::Translator from 0.09004 to 0.09006 - Setting license to gnu-gpl-v2 - Adjusting dependencies according to Makefile.PL Upstream changes: # ---------------------------------------------------------- # 0.09006 2009-06-10 # ---------------------------------------------------------- * Multiple test and dependency adhustments to make smokers happy * Fix YAML producer wrt extra attribute * Added support for "time(stamp) (p) with time zone" for Pg producer (mo) # ---------------------------------------------------------- # 0.09005 2009-06-08 # ---------------------------------------------------------- * Add parser support for MySQL default values with a single quote * Properly quote absolute table names in the MySQL producer * Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis) * Added CREATE VIEW subrules for mysql parser (wreis) * ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo) * XML parser support for multi-event triggers * SQLite producer support for multi-event triggers * XML parser switched from XML::XPath to XML::LibXML * Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support * MySQL producer skips length attribute for columns which do not support that attribute. Currently following column types are added to that list: date time timestamp datetime year * Switch to Module::Install (mandates minimum perl 5.005) * Major cleanup of GraphViz proucer * Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers Fix most of the problems uncovered by the roundtrip test framework Some highlights: - Rewind exhausted globs before attempting a read - Do not add xml comment header if no_comments is set - table/field counts are held per schema object, not globally - no more variable table and column names in SQLite and MSSQL - VIEW support for Pg parser, also some cleanups - The way we generate Pg create view statements was not standards compliant (per RhodiumToad in #postgresql) - Disable MSSQL view/procedure production - they never worked in the first place - SQLite/MSSQL improvements: - Support parsing of all DROP clauses - Support parsing of field-level comments - When producing do not append table names to constraint/index names
2009-06-15 21:44:04 +02:00
LICENSE= gnu-gpl-v2
DEPENDS+= p5-Carp-Clan-[0-9]*:../../devel/p5-Carp-Clan
DEPENDS+= p5-Class-Accessor>=0:../../devel/p5-Class-Accessor
DEPENDS+= p5-Class-Base>=0:../../devel/p5-Class-Base
DEPENDS+= p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
DEPENDS+= p5-Class-MakeMethods>=0:../../devel/p5-Class-MakeMethods
DEPENDS+= p5-Digest-SHA1>=2.0:../../security/p5-Digest-SHA1
pkgsrc changes: - Updating package of p5 module SQL::Translator from 0.09004 to 0.09006 - Setting license to gnu-gpl-v2 - Adjusting dependencies according to Makefile.PL Upstream changes: # ---------------------------------------------------------- # 0.09006 2009-06-10 # ---------------------------------------------------------- * Multiple test and dependency adhustments to make smokers happy * Fix YAML producer wrt extra attribute * Added support for "time(stamp) (p) with time zone" for Pg producer (mo) # ---------------------------------------------------------- # 0.09005 2009-06-08 # ---------------------------------------------------------- * Add parser support for MySQL default values with a single quote * Properly quote absolute table names in the MySQL producer * Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis) * Added CREATE VIEW subrules for mysql parser (wreis) * ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo) * XML parser support for multi-event triggers * SQLite producer support for multi-event triggers * XML parser switched from XML::XPath to XML::LibXML * Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support * MySQL producer skips length attribute for columns which do not support that attribute. Currently following column types are added to that list: date time timestamp datetime year * Switch to Module::Install (mandates minimum perl 5.005) * Major cleanup of GraphViz proucer * Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers Fix most of the problems uncovered by the roundtrip test framework Some highlights: - Rewind exhausted globs before attempting a read - Do not add xml comment header if no_comments is set - table/field counts are held per schema object, not globally - no more variable table and column names in SQLite and MSSQL - VIEW support for Pg parser, also some cleanups - The way we generate Pg create view statements was not standards compliant (per RhodiumToad in #postgresql) - Disable MSSQL view/procedure production - they never worked in the first place - SQLite/MSSQL improvements: - Support parsing of all DROP clauses - Support parsing of field-level comments - When producing do not append table names to constraint/index names
2009-06-15 21:44:04 +02:00
DEPENDS+= p5-File-ShareDir>=1.0:../../devel/p5-File-ShareDir
Updating package databases/p5-SQL-Translator from 0.09007 to 0.11001 pkgsrc changes: - Adding recommended dependencies - Adjusting dependencies according to META.yml Upstream changes: # ---------------------------------------------------------- # 0.11001 2009-08-18 # ---------------------------------------------------------- * Removed last use of Readonly * Adjusted YAML dependency # ---------------------------------------------------------- # 0.11000 2009-08-18 # ---------------------------------------------------------- * Re-add version numbers to files, else cpan's "upgrade" gets very confused * Replaced code using Readonly, since most of the rest uses constant, and thats already a dep * Moved YAML and XML::LibXML back to recommends, the tests for both now skip if not installed * Bumped to 0.11000 to supercede 0.10 which has incorrect numbering scheme # ---------------------------------------------------------- # 0.10 2009-08-13 # ---------------------------------------------------------- * Resolved the following RT bugs (thanks to everyone for reporting!): 25791 does not recognize PostgreSQL ON_ERROR_STOP 29265 sqlt-diagram: --natural-join needs Graph::Directed 37814 SQLite translator failing to parse schema 42548 Producer::PostgreSQL incorrectly inserts the size in 'time(stamp)? with(out) time zone' fields 43173 SQL::Translator::Parser without versionnumber - will install old 0.09002 46805 (No subject) 47026 META.yml is not packaged due to MANIFEST.SKIP (easyfix) 32130 Move from XML::XPath to XML::LibXML::XPathContext 22261 MySQL parse 13915 missing optional prerequisite cause make test to fail 8847 Diagram.pm: BINMODE missing in printing of graphic file. 21065 GraphViz producer fails on tables named 'node' 35448 Producer::PostgreSQL types without size 22026 sqlt-diagram uses -f arg twice 47897 [PATCH] Fix uninitialized value within @_ in (uc|lc) 47668 Mysql Parser doesn't recognize key types 46448 sqlt-graph errors out on MySQL DDL with btree keys 47176 Add Foreign Key support to Parser::DBI::PostgreSQL.pm 48025 MySQL Producer: Case inconsistency between elements in @no_length_attr and $data_type 48569 sqlt-diagram fails to load SQLite schema 48596 SQL::Translator::Diff::schema_diff should produce a list in list context 44907 SQL::Translator::Producer::PostgreSQL produce() in list context should return a list of statements
2009-08-19 11:19:41 +02:00
DEPENDS+= p5-IO-stringy>=2.110:../../devel/p5-IO-stringy
DEPENDS+= p5-Parse-RecDescent>=1.96.2.2:../../devel/p5-Parse-RecDescent
pkgsrc changes: - Updating package of p5 module SQL::Translator from 0.09004 to 0.09006 - Setting license to gnu-gpl-v2 - Adjusting dependencies according to Makefile.PL Upstream changes: # ---------------------------------------------------------- # 0.09006 2009-06-10 # ---------------------------------------------------------- * Multiple test and dependency adhustments to make smokers happy * Fix YAML producer wrt extra attribute * Added support for "time(stamp) (p) with time zone" for Pg producer (mo) # ---------------------------------------------------------- # 0.09005 2009-06-08 # ---------------------------------------------------------- * Add parser support for MySQL default values with a single quote * Properly quote absolute table names in the MySQL producer * Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis) * Added CREATE VIEW subrules for mysql parser (wreis) * ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo) * XML parser support for multi-event triggers * SQLite producer support for multi-event triggers * XML parser switched from XML::XPath to XML::LibXML * Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support * MySQL producer skips length attribute for columns which do not support that attribute. Currently following column types are added to that list: date time timestamp datetime year * Switch to Module::Install (mandates minimum perl 5.005) * Major cleanup of GraphViz proucer * Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers Fix most of the problems uncovered by the roundtrip test framework Some highlights: - Rewind exhausted globs before attempting a read - Do not add xml comment header if no_comments is set - table/field counts are held per schema object, not globally - no more variable table and column names in SQLite and MSSQL - VIEW support for Pg parser, also some cleanups - The way we generate Pg create view statements was not standards compliant (per RhodiumToad in #postgresql) - Disable MSSQL view/procedure production - they never worked in the first place - SQLite/MSSQL improvements: - Support parsing of all DROP clauses - Support parsing of field-level comments - When producing do not append table names to constraint/index names
2009-06-15 21:44:04 +02:00
DEPENDS+= p5-XML-Writer>=0.500:../../textproc/p5-XML-Writer
# Recommended
DEPENDS+= p5-GD-[0-9]*:../../graphics/p5-GD
DEPENDS+= p5-Graph-[0-9]*:../../devel/p5-Graph
Updating package databases/p5-SQL-Translator from 0.09007 to 0.11001 pkgsrc changes: - Adding recommended dependencies - Adjusting dependencies according to META.yml Upstream changes: # ---------------------------------------------------------- # 0.11001 2009-08-18 # ---------------------------------------------------------- * Removed last use of Readonly * Adjusted YAML dependency # ---------------------------------------------------------- # 0.11000 2009-08-18 # ---------------------------------------------------------- * Re-add version numbers to files, else cpan's "upgrade" gets very confused * Replaced code using Readonly, since most of the rest uses constant, and thats already a dep * Moved YAML and XML::LibXML back to recommends, the tests for both now skip if not installed * Bumped to 0.11000 to supercede 0.10 which has incorrect numbering scheme # ---------------------------------------------------------- # 0.10 2009-08-13 # ---------------------------------------------------------- * Resolved the following RT bugs (thanks to everyone for reporting!): 25791 does not recognize PostgreSQL ON_ERROR_STOP 29265 sqlt-diagram: --natural-join needs Graph::Directed 37814 SQLite translator failing to parse schema 42548 Producer::PostgreSQL incorrectly inserts the size in 'time(stamp)? with(out) time zone' fields 43173 SQL::Translator::Parser without versionnumber - will install old 0.09002 46805 (No subject) 47026 META.yml is not packaged due to MANIFEST.SKIP (easyfix) 32130 Move from XML::XPath to XML::LibXML::XPathContext 22261 MySQL parse 13915 missing optional prerequisite cause make test to fail 8847 Diagram.pm: BINMODE missing in printing of graphic file. 21065 GraphViz producer fails on tables named 'node' 35448 Producer::PostgreSQL types without size 22026 sqlt-diagram uses -f arg twice 47897 [PATCH] Fix uninitialized value within @_ in (uc|lc) 47668 Mysql Parser doesn't recognize key types 46448 sqlt-graph errors out on MySQL DDL with btree keys 47176 Add Foreign Key support to Parser::DBI::PostgreSQL.pm 48025 MySQL Producer: Case inconsistency between elements in @no_length_attr and $data_type 48569 sqlt-diagram fails to load SQLite schema 48596 SQL::Translator::Diff::schema_diff should produce a list in list context 44907 SQL::Translator::Producer::PostgreSQL produce() in list context should return a list of statements
2009-08-19 11:19:41 +02:00
DEPENDS+= p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz
pkgsrc changes: - Updating package of p5 module SQL::Translator from 0.09004 to 0.09006 - Setting license to gnu-gpl-v2 - Adjusting dependencies according to Makefile.PL Upstream changes: # ---------------------------------------------------------- # 0.09006 2009-06-10 # ---------------------------------------------------------- * Multiple test and dependency adhustments to make smokers happy * Fix YAML producer wrt extra attribute * Added support for "time(stamp) (p) with time zone" for Pg producer (mo) # ---------------------------------------------------------- # 0.09005 2009-06-08 # ---------------------------------------------------------- * Add parser support for MySQL default values with a single quote * Properly quote absolute table names in the MySQL producer * Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis) * Added CREATE VIEW subrules for mysql parser (wreis) * ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo) * XML parser support for multi-event triggers * SQLite producer support for multi-event triggers * XML parser switched from XML::XPath to XML::LibXML * Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support * MySQL producer skips length attribute for columns which do not support that attribute. Currently following column types are added to that list: date time timestamp datetime year * Switch to Module::Install (mandates minimum perl 5.005) * Major cleanup of GraphViz proucer * Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers Fix most of the problems uncovered by the roundtrip test framework Some highlights: - Rewind exhausted globs before attempting a read - Do not add xml comment header if no_comments is set - table/field counts are held per schema object, not globally - no more variable table and column names in SQLite and MSSQL - VIEW support for Pg parser, also some cleanups - The way we generate Pg create view statements was not standards compliant (per RhodiumToad in #postgresql) - Disable MSSQL view/procedure production - they never worked in the first place - SQLite/MSSQL improvements: - Support parsing of all DROP clauses - Support parsing of field-level comments - When producing do not append table names to constraint/index names
2009-06-15 21:44:04 +02:00
DEPENDS+= p5-Spreadsheet-ParseExcel>=0.41:../../math/p5-Spreadsheet-ParseExcel
Updating package databases/p5-SQL-Translator from 0.09007 to 0.11001 pkgsrc changes: - Adding recommended dependencies - Adjusting dependencies according to META.yml Upstream changes: # ---------------------------------------------------------- # 0.11001 2009-08-18 # ---------------------------------------------------------- * Removed last use of Readonly * Adjusted YAML dependency # ---------------------------------------------------------- # 0.11000 2009-08-18 # ---------------------------------------------------------- * Re-add version numbers to files, else cpan's "upgrade" gets very confused * Replaced code using Readonly, since most of the rest uses constant, and thats already a dep * Moved YAML and XML::LibXML back to recommends, the tests for both now skip if not installed * Bumped to 0.11000 to supercede 0.10 which has incorrect numbering scheme # ---------------------------------------------------------- # 0.10 2009-08-13 # ---------------------------------------------------------- * Resolved the following RT bugs (thanks to everyone for reporting!): 25791 does not recognize PostgreSQL ON_ERROR_STOP 29265 sqlt-diagram: --natural-join needs Graph::Directed 37814 SQLite translator failing to parse schema 42548 Producer::PostgreSQL incorrectly inserts the size in 'time(stamp)? with(out) time zone' fields 43173 SQL::Translator::Parser without versionnumber - will install old 0.09002 46805 (No subject) 47026 META.yml is not packaged due to MANIFEST.SKIP (easyfix) 32130 Move from XML::XPath to XML::LibXML::XPathContext 22261 MySQL parse 13915 missing optional prerequisite cause make test to fail 8847 Diagram.pm: BINMODE missing in printing of graphic file. 21065 GraphViz producer fails on tables named 'node' 35448 Producer::PostgreSQL types without size 22026 sqlt-diagram uses -f arg twice 47897 [PATCH] Fix uninitialized value within @_ in (uc|lc) 47668 Mysql Parser doesn't recognize key types 46448 sqlt-graph errors out on MySQL DDL with btree keys 47176 Add Foreign Key support to Parser::DBI::PostgreSQL.pm 48025 MySQL Producer: Case inconsistency between elements in @no_length_attr and $data_type 48569 sqlt-diagram fails to load SQLite schema 48596 SQL::Translator::Diff::schema_diff should produce a list in list context 44907 SQL::Translator::Producer::PostgreSQL produce() in list context should return a list of statements
2009-08-19 11:19:41 +02:00
DEPENDS+= p5-Template-Toolkit>=2.10:../../www/p5-Template-Toolkit
DEPENDS+= p5-Text-RecordParser>=0.02:../../textproc/p5-Text-RecordParser
DEPENDS+= p5-XML-LibXML>=1.69:../../textproc/p5-XML-LibXML
BUILD_DEPENDS+= {perl>=5.10,p5-PathTools>=0}:../../devel/p5-PathTools
BUILD_DEPENDS+= p5-Test-Differences>=0:../../devel/p5-Test-Differences
Updating package databases/p5-SQL-Translator from 0.09007 to 0.11001 pkgsrc changes: - Adding recommended dependencies - Adjusting dependencies according to META.yml Upstream changes: # ---------------------------------------------------------- # 0.11001 2009-08-18 # ---------------------------------------------------------- * Removed last use of Readonly * Adjusted YAML dependency # ---------------------------------------------------------- # 0.11000 2009-08-18 # ---------------------------------------------------------- * Re-add version numbers to files, else cpan's "upgrade" gets very confused * Replaced code using Readonly, since most of the rest uses constant, and thats already a dep * Moved YAML and XML::LibXML back to recommends, the tests for both now skip if not installed * Bumped to 0.11000 to supercede 0.10 which has incorrect numbering scheme # ---------------------------------------------------------- # 0.10 2009-08-13 # ---------------------------------------------------------- * Resolved the following RT bugs (thanks to everyone for reporting!): 25791 does not recognize PostgreSQL ON_ERROR_STOP 29265 sqlt-diagram: --natural-join needs Graph::Directed 37814 SQLite translator failing to parse schema 42548 Producer::PostgreSQL incorrectly inserts the size in 'time(stamp)? with(out) time zone' fields 43173 SQL::Translator::Parser without versionnumber - will install old 0.09002 46805 (No subject) 47026 META.yml is not packaged due to MANIFEST.SKIP (easyfix) 32130 Move from XML::XPath to XML::LibXML::XPathContext 22261 MySQL parse 13915 missing optional prerequisite cause make test to fail 8847 Diagram.pm: BINMODE missing in printing of graphic file. 21065 GraphViz producer fails on tables named 'node' 35448 Producer::PostgreSQL types without size 22026 sqlt-diagram uses -f arg twice 47897 [PATCH] Fix uninitialized value within @_ in (uc|lc) 47668 Mysql Parser doesn't recognize key types 46448 sqlt-graph errors out on MySQL DDL with btree keys 47176 Add Foreign Key support to Parser::DBI::PostgreSQL.pm 48025 MySQL Producer: Case inconsistency between elements in @no_length_attr and $data_type 48569 sqlt-diagram fails to load SQLite schema 48596 SQL::Translator::Diff::schema_diff should produce a list in list context 44907 SQL::Translator::Producer::PostgreSQL produce() in list context should return a list of statements
2009-08-19 11:19:41 +02:00
BUILD_DEPENDS+= p5-Test-Exception>=0:../../devel/p5-Test-Exception
BUILD_DEPENDS+= p5-YAML>=0.66:../../textproc/p5-YAML
USE_LANGUAGES= # empty
pkgsrc changes: - Updating package of p5 module SQL::Translator from 0.09004 to 0.09006 - Setting license to gnu-gpl-v2 - Adjusting dependencies according to Makefile.PL Upstream changes: # ---------------------------------------------------------- # 0.09006 2009-06-10 # ---------------------------------------------------------- * Multiple test and dependency adhustments to make smokers happy * Fix YAML producer wrt extra attribute * Added support for "time(stamp) (p) with time zone" for Pg producer (mo) # ---------------------------------------------------------- # 0.09005 2009-06-08 # ---------------------------------------------------------- * Add parser support for MySQL default values with a single quote * Properly quote absolute table names in the MySQL producer * Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis) * Added CREATE VIEW subrules for mysql parser (wreis) * ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo) * XML parser support for multi-event triggers * SQLite producer support for multi-event triggers * XML parser switched from XML::XPath to XML::LibXML * Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support * MySQL producer skips length attribute for columns which do not support that attribute. Currently following column types are added to that list: date time timestamp datetime year * Switch to Module::Install (mandates minimum perl 5.005) * Major cleanup of GraphViz proucer * Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers Fix most of the problems uncovered by the roundtrip test framework Some highlights: - Rewind exhausted globs before attempting a read - Do not add xml comment header if no_comments is set - table/field counts are held per schema object, not globally - no more variable table and column names in SQLite and MSSQL - VIEW support for Pg parser, also some cleanups - The way we generate Pg create view statements was not standards compliant (per RhodiumToad in #postgresql) - Disable MSSQL view/procedure production - they never worked in the first place - SQLite/MSSQL improvements: - Support parsing of all DROP clauses - Support parsing of field-level comments - When producing do not append table names to constraint/index names
2009-06-15 21:44:04 +02:00
PERL5_MODULE_TYPE= Module::Install
PERL5_PACKLIST= auto/SQL/Translator/.packlist
PKG_DESTDIR_SUPPORT= user-destdir
pkgsrc changes: - Updating package of p5 module SQL::Translator from 0.09004 to 0.09006 - Setting license to gnu-gpl-v2 - Adjusting dependencies according to Makefile.PL Upstream changes: # ---------------------------------------------------------- # 0.09006 2009-06-10 # ---------------------------------------------------------- * Multiple test and dependency adhustments to make smokers happy * Fix YAML producer wrt extra attribute * Added support for "time(stamp) (p) with time zone" for Pg producer (mo) # ---------------------------------------------------------- # 0.09005 2009-06-08 # ---------------------------------------------------------- * Add parser support for MySQL default values with a single quote * Properly quote absolute table names in the MySQL producer * Added semi-colon for (DROP|CREATE) TYPE statements in the Pg producer (wreis) * Added CREATE VIEW subrules for mysql parser (wreis) * ALTER TABLE/ALTER COLUMN/DROP DEFAULT support in Pg producer (mo) * XML parser support for multi-event triggers * SQLite producer support for multi-event triggers * XML parser switched from XML::XPath to XML::LibXML * Pg producer ALTER TABLE/COLUMN and DROP DEFAULT support * MySQL producer skips length attribute for columns which do not support that attribute. Currently following column types are added to that list: date time timestamp datetime year * Switch to Module::Install (mandates minimum perl 5.005) * Major cleanup of GraphViz proucer * Massive amount of fixes to SQLite/Pg/Mysql/MSSQL parsers/producers Fix most of the problems uncovered by the roundtrip test framework Some highlights: - Rewind exhausted globs before attempting a read - Do not add xml comment header if no_comments is set - table/field counts are held per schema object, not globally - no more variable table and column names in SQLite and MSSQL - VIEW support for Pg parser, also some cleanups - The way we generate Pg create view statements was not standards compliant (per RhodiumToad in #postgresql) - Disable MSSQL view/procedure production - they never worked in the first place - SQLite/MSSQL improvements: - Support parsing of all DROP clauses - Support parsing of field-level comments - When producing do not append table names to constraint/index names
2009-06-15 21:44:04 +02:00
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"