pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/p5-SQL-Translator pkgsrc changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc825dd89fa2
branches:  trunk
changeset: 394799:bc825dd89fa2
user:      sno <sno%pkgsrc.org@localhost>
date:      Mon Jun 15 19:44:04 2009 +0000

description:
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

diffstat:

 databases/p5-SQL-Translator/Makefile |  29 ++++++++++++++++++++++-------
 databases/p5-SQL-Translator/distinfo |   8 ++++----
 2 files changed, 26 insertions(+), 11 deletions(-)

diffs (72 lines):

diff -r 260d8036c7a6 -r bc825dd89fa2 databases/p5-SQL-Translator/Makefile
--- a/databases/p5-SQL-Translator/Makefile      Mon Jun 15 19:37:07 2009 +0000
+++ b/databases/p5-SQL-Translator/Makefile      Mon Jun 15 19:44:04 2009 +0000
@@ -1,22 +1,36 @@
-# $NetBSD: Makefile,v 1.5 2009/02/24 21:46:27 he Exp $
+# $NetBSD: Makefile,v 1.6 2009/06/15 19:44:04 sno Exp $
 
-DISTNAME=      SQL-Translator-0.09004
+DISTNAME=      SQL-Translator-0.09006
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    databases perl5
-MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../by-authors/id/J/JR/JROBINSON/}
+#MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/J/JR/JROBINSON/}
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=SQL/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://search.cpan.org/dist/SQL-Translator/
 COMMENT=       Manipulate structured data definitions (SQL and more)
+LICENSE=       gnu-gpl-v2
 
 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-DBI>=0:../../databases/p5-DBI
+DEPENDS+=      p5-Carp-Clan-[0-9]*:../../devel/p5-Carp-Clan
 DEPENDS+=      p5-Digest-SHA1>=2.0:../../security/p5-Digest-SHA1
-DEPENDS+=      p5-Log-Log4perl>=0:../../devel/p5-Log-Log4perl
-DEPENDS+=      p5-Parse-RecDescent>=1.94:../../devel/p5-Parse-RecDescent
+DEPENDS+=      p5-File-ShareDir>=1.0:../../devel/p5-File-ShareDir
+#DEPENDS+=     p5-Log-Log4Perl
+DEPENDS+=      p5-Parse-RecDescent>=1.96:../../devel/p5-Parse-RecDescent
+DEPENDS+=      p5-XML-Writer>=0.500:../../textproc/p5-XML-Writer
+
+# Recommended
+DEPENDS+=      p5-Template-Toolkit>=2.10:../../www/p5-Template-Toolkit
+DEPENDS+=      p5-GD-[0-9]*:../../graphics/p5-GD
+DEPENDS+=      p5-Graph-[0-9]*:../../devel/p5-Graph
+#DEPENDS+=     p5-GraphViz-[0-9]*:../../graphics/p5-GraphViz
+DEPENDS+=      p5-Spreadsheet-ParseExcel>=0.41:../../math/p5-Spreadsheet-ParseExcel
+#DEPENDS+=     p5-Text-ParseWords
+#DEPENDS+=     p5-Text-RecordParser
+DEPENDS+=      p5-XML-LibXML>=1.61:../../textproc/p5-XML-LibXML
 
 BUILD_DEPENDS+=        p5-PathTools>=0:../../devel/p5-PathTools
 BUILD_DEPENDS+=        p5-Test-Exception>=0:../../devel/p5-Test-Exception
@@ -24,10 +38,11 @@
 BUILD_DEPENDS+=        p5-YAML>=0.39:../../textproc/p5-YAML
 
 USE_LANGUAGES= # empty
-PERL5_MODULE_TYPE= Module::Build
+PERL5_MODULE_TYPE= Module::Install
 PERL5_PACKLIST=        auto/SQL/Translator/.packlist
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+.include "../../databases/p5-DBI/buildlink3.mk"
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 260d8036c7a6 -r bc825dd89fa2 databases/p5-SQL-Translator/distinfo
--- a/databases/p5-SQL-Translator/distinfo      Mon Jun 15 19:37:07 2009 +0000
+++ b/databases/p5-SQL-Translator/distinfo      Mon Jun 15 19:44:04 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2009/02/24 21:46:27 he Exp $
+$NetBSD: distinfo,v 1.5 2009/06/15 19:44:04 sno Exp $
 
-SHA1 (SQL-Translator-0.09004.tar.gz) = cf8a8f22019f4e16c44d49534f5f9f8ad60b31db
-RMD160 (SQL-Translator-0.09004.tar.gz) = 9355e88bb33170446b768d18c8e5055234757db4
-Size (SQL-Translator-0.09004.tar.gz) = 592269 bytes
+SHA1 (SQL-Translator-0.09006.tar.gz) = 1915fee71cdddd86fa64379e3d4f8f26f5e3a2fc
+RMD160 (SQL-Translator-0.09006.tar.gz) = f1f3c3e0319dd3e309893e92b0f693b687ed982d
+Size (SQL-Translator-0.09006.tar.gz) = 611783 bytes



Home | Main Index | Thread Index | Old Index