pkgsrc/databases/p5-DBIx-Class-Schema-Loader/Makefile
sno d47fc95661 Updating databases/p5-DBIx-Class-Schema-Loader from 0.05003 to 0.07001.
pkgsrc changes:
- adjust dependencies according to META.yml

Upstream changes:
0.07001  2010-07-24 21:28:08
        - put is_deferrable => 1 back into default attributes for belongs_to
        - fix Postgres sequence detection for qualified sequences
        - detect DOS line ends in table/column comments and convert to \n
        - added use_moose option
        - always mark pk columns is_nullable=0
        - fix unique constraint names for SQLite (actual names break ->deploy)
        - fix bug in qualify_objects that would add schema to relnames
        - better type info for Informix, except for DATETIME precision and
          INTERVAL support
        - better type info for DB2
        - fix some newly-introduced test bugs
        - fix composite PKs getting marked is_auto_increment on SQLite

0.07000  2010-05-22 23:40:15
        - added qualify_objects option to prepend db_schema to table names
        - fix for negative numeric default values
        - sequence is detected for Oracle
        - fix for SQLite is_auto_increment detection when table is empty (hobbs)
        - rescan now reloads all tables
        - minor type info improvements for all DBs
        - fix erroneous default_value for MySQL NOT NULL columns (RT#57225)
        - remove is_deferrable => 1 from default for belongs_to rels
        - better type info for Oracle
        - preliminary Informix support
        - unregister dropped sources on rescan
        - added 'preserve_case' option with support for all DBs where it makes
          sense; removed the MSSQL 'case_sensitive_collation' and the
          Firebird/InterBase 'unquoted_ddl' options in favor of it.
        - support CamelCase table names and column names (in case-preserving
          mode) at the v7 naming level
        - rewrite datetime default functions as \'current_timestamp' where
          possible (except for Sybase ASE) to ease cross-deployment
        - use column_info instead of select to get Oracle column list (RT#42281)
        - match quotes in MySQL parser in more places (RT#42101)
        - fix unique detection in DB2 for multiple schemas (RT#39622)
        - fix column name collisions with methods (RT#49443)
        - fix loading MySQL views on older MySQL versions (RT#47399)

0.06001  2010-04-10 01:31:12
        - fix type info for MSSQL
        - fix MSSQL collation detection on freetds tds version 8.0

0.06000  2010-04-06 01:12:25
        - better type info for MySQL
        - initial MySQL data type tests (jhannah)
        - don't set result_namespace if it's 'Result'
        - support for MSSQL databases with case sensitive collation, manually
          overridable with 'case_sensitive_collation' option
        - do not try to detect driver and rebless when used with a custom
          'loader_class'
        - suppress 'bad table or view' warnings for filtered tables/views
        - croak if several tables reduce to an identical moniker (ribasushi)
        - better type info for Sybase ASE
        - better type info for Pg: sets sequence for serials, handles numerics
          without precision
        - better _tables_list for MSSQL
        - pick up views in SQLite too
        - better rel inflection using Lingua::EN::Inflect::Phrase
        - cascade_delete and cascade_copy are turned off for has_many/might_have
          by default, and belongs_to has on_delete => 'CASCADE', on_update =>
          'CASCADE' and is_deferrable => 1 by default, overridable via
          relationship_attrs
        - added config_file option for loading loader options from a file
        - set inflate_datetime => 1 for 'AS getdate()' computed columns in
          Sybase
        - Firebird support
        - use introspection pragmas instead of regexes to introspect SQLite
          (hobbs)
        - generate POD for refs correctly from column_info
        - fix tables list, fk introspection and type info for SQL Anywhere
2010-08-19 20:27:18 +00:00

64 lines
2.9 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2010/08/19 20:27:18 sno Exp $
DISTNAME= DBIx-Class-Schema-Loader-0.07001
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/DBIx-Class-Schema-Loader/
COMMENT= Dynamic definition of a DBIx::Class::Schema
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
.include "options.mk"
BUILD_DEPENDS+= p5-DBD-SQLite>=1.29:../../databases/p5-DBD-SQLite
BUILD_DEPENDS+= {perl>=5.10.1,p5-File-Path>=2.07}:../../devel/p5-File-Path
BUILD_DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
BUILD_DEPENDS+= p5-MooseX-NonMoose-[0-9]*:../../devel/p5-MooseX-NonMoose
BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
BUILD_DEPENDS+= p5-Test-Kwalitee-[0-9]*:../../devel/p5-Test-Kwalitee
BUILD_DEPENDS+= {perl>=5.12.0,p5-Test-Simple>=0.94}:../../devel/p5-Test-Simple
BUILD_DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
DEPENDS+= p5-Carp-Clan-[0-9]*:../../devel/p5-Carp-Clan
DEPENDS+= p5-Class-Accessor-Grouped>=0.09002:../../devel/p5-Class-Accessor-Grouped
DEPENDS+= p5-Class-C3>=0.18:../../devel/p5-Class-C3
DEPENDS+= p5-Class-C3-Componentised>=1.0005:../../devel/p5-Class-C3-Componentised
#DEPENDS+= p5-Class-Data-Accessor>=0.03:../../devel/p5-Class-Data-Accessor
DEPENDS+= p5-Class-Inspector-[0-9]*:../../devel/p5-Class-Inspector
DEPENDS+= p5-Class-Unload-[0-9]*:../../devel/p5-Class-Unload
DEPENDS+= p5-DBIx-Class>=0.08114:../../databases/p5-DBIx-Class
DEPENDS+= p5-Data-Dump>=1.06:../../devel/p5-Data-Dump
DEPENDS+= {perl>=5.8.8,p5-Digest-MD5>=2.36}:../../security/p5-Digest-MD5
DEPENDS+= p5-File-Slurp>=9999.13:../../devel/p5-File-Slurp
#DEPENDS+= p5-Lingua-EN-Inflect>=1.89:../../textproc/p5-Lingua-EN-Inflect
DEPENDS+= p5-Lingua-EN-Inflect-Number>=1.1:../../textproc/p5-Lingua-EN-Inflect-Number
DEPENDS+= p5-Lingua-EN-Inflect-Phrase>=0.02:../../textproc/p5-Lingua-EN-Inflect-Phrase
DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
DEPENDS+= {perl>=5.10,p5-PathTools-[0-9]*}:../../devel/p5-PathTools
DEPENDS+= {perl>=5.10,p5-Scalar-List-Utils>=0}:../../devel/p5-Scalar-List-Utils
DEPENDS+= p5-Scope-Guard-[0-9]*:../../devel/p5-Scope-Guard
DEPENDS+= p5-Text-Balanced>=0:../../textproc/p5-Text-Balanced
DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
#DEPENDS+= p5-UNIVERSAL-require>=0.10:../../devel/p5-UNIVERSAL-require
BUILD_DEPENDS+= p5-namespace-clean-[0-9]*:../../devel/p5-namespace-clean
# Avoid complaints if we do not have DB2, Oracle, Pg and mysql
MAKE_ENV+= DBIC_FEATURE_NOQUESTIONS=1
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/DBIx/Class/Schema/Loader/.packlist
PERL5_MODULE_TYPE= Module::Install::Bundled
pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM}
BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.560
BUILDLINK_DEPMETHOD.p5-DBI?= build
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"