pkgsrc/databases/p5-DBIx-Class-Schema-Loader/Makefile
hiramatsu d26220393e Update p5-DBIx-Class-Schema-Loader to 0.07012.
Changes from previous:
0.07012  2011-11-09 15:16:29
        - as of 0.07011 all callbacks receive a ::Loader::Table or
          interface-compatible object instead of the table name, this object
          stringifies to the table name (RT#72260)
        - fix a bug in dynamic schema_base_class/schema_components
          implementation that ran the connection method twice on subsequent
          connects
        - use a temp file for filter_generated_code with a string program name
          instead of IPC::Open2, which hangs on Win32 (RT#72226)
        - previous version referred to the wrong RT# for the uniq_to_primary
          change, it is actually (RT#51696)

0.07011  2011-11-01 09:00:00
        - add -I option to dbicdump
        - do not delete default custom content comment and ending 1; from custom
          content in files that are being renamed (RT#70507)
        - use MooseX::MarkAsMethods instead of namespace::autoclean for the
          use_moose option, this protects operator overloads, only_autoclean
          option added for the old behavior
        - add experimental naming=v8 mode with better CamelCase identifier
          support, relationship naming and conversion of non-identifier chars
          (RT#71945)
        - add naming => { force_ascii => 1 } option for Unicode database names
        - implement schema_base_class and schema_components for dynamic and
          working schemas
        - remove dependency on File::Slurp
        - allow the constraint and exclude options to be used simultaneously
          (bphillips)
        - fix Oracle multi-db_schema unique detection (RT#70851)
        - fix Oracle common tests fail with multi_schema due to not resetting
          the preserve_case option after the preserve_case tests (RT#70829)
        - handle <type> DEFAULT NULL for Pg
        - handle boolean DEFAULT 0::boolean for Pg
        - config file support for dbicdump script (alnewkirk)
        - added filter_generated_code option (RT#53841)
        - generic table and column comments support
        - MySQL table and column comments support
        - support DOS line endings on *nix and *nix line ending on Win32
        - add quiet option
        - $schema->loader is now a public method
        - add schema_components option
        - sort relationships so they always come out in the same order
        - also sort unique constraints so they always come out in the same order
        - multi db_schema support with cross-schema rels (RT#39478)
        - added moniker_parts option for name clashes in multi db_schema setups
        - add rel_name_map option
        - fix the decimal data type for MS Access over ODBC
        - fix enum/set detection for MySQL (RT#68717)
        - fix is_nullable detection on MS Access
        - remove '$table has no primary key' warning
        - added uniq_to_primary option to promote unique keys to primary keys
          (RT#25944)
        - support arrayrefs for result_namespace and resultset_namespace
          (RT#40214)
        - add naming => { monikers => 'preserve' } or 'singular'/'plural' to
          control moniker inflection (RT#44935)
        - add naming => { column_accessors => 'preserve' } to not normalize
          CamelCase column names to lower case for accessors (RT#64668)
        - support quoted PostgreSQL schema names with special chars (RT#64766)
        - automatically turn on quoting for MySQL (RT#60469)
        - become utf8-aware (RT#67920)
        - handle duplicate relationship names (RT#64041)
        - fix a bug in Sybase ASE foreign key detection
        - generate POD for result_base_class, additional_classes,
          additional_base_classes, left_base_classes, components,
          result_components_map, result_roles, result_roles_map, unique
          constraints, set_primary_key and table
        - rename result_component_map to result_components_map (old name still
          works)
        - fix accessor collision detection for methods from
          result_components_map components
        - add result_roles and result_roles_map options
        - fix for mysql rel detection in mixed-case tables on mixed-case
          filesystems (OSX and Windows)
        - support for DBD::Firebird
        - support for unicode Firebird data types
        - handle "use warnings FATAL => 'all';" in custom/external content
          (RT#59849)
        - for dynamic schemas, if the naming option is set, will automatically
          turn on use_namespaces=1 as well. Set use_namespaces=0 to disable
          this behavior (RT#59849)

0.07010  2011-03-04 08:26:31
        - add result_component_map option

0.07009  2011-02-25 11:06:51
        - fix a syntax error in MS Access ADO driver

0.07008  2011-02-25 01:54:43
        - rename column_accessor_map to col_accessor_map, the old alias still
          works
        - support MSSQL over DBD::ADO
        - support for MS Access over DBD::ODBC and DBD::ADO

0.07007  2011-02-15 10:00:07
        - bump DBIx::Class dep to 0.08127
        - fix MSSQL data types for native client and EasySoft driver

0.07006  2011-02-01 02:18:32
        - turn unloading of RelBuilder temp classes back on, now with proper
          check for class existance using Class::Inspector->loaded
        - bump up dep on namespace::clean to avoid breakage with earlier
          versions (RT#65149)

0.07005  2011-01-25 23:07:55
        - support extra connect_info options like quote_char for dbicdump
        - fix breakage on perl 5.8.x related to unloading temporary classes

0.07004  2011-01-24 03:43:05
        - fix bug with result class methods being cached on in a closure instead
          of the object, which breaks for multiple dynamic schemas in a single
          perl instance

0.07003  2011-01-21 06:43:05
        - fix relname/method collisions (RT#62648)
        - fix fully qualified component classes (RT#62624)
        - improve sybase/mssql db_schema detection
        - remove MooseX::NonMoose from Schema files under use_moose=1
        - better _tables_list for Sybase ASE
        - add datetime_undef_if_invalid => 1 for MySQL datetime data types
          (RT#64820) This behavior can be turned off by passing
          datetime_undef_if_invalid=0 as a loader option
        - added column_accessor_map option
        - Preserve relationship names when redumping and another FK is added
          (RT#62424)
        - Remove resultset_components as ResultSetManager is deprecated
        - Fix a fail when very old Moose/CMOP is installed
        - Added warning for column-accessor collisions, doc section in ::Base
          ("COLUMN ACCESSOR COLLISIONS") and the col_collision_map option.
        - Handle column accessor collisions with UNIVERSAL methods
        - Generate custom_type_name hint for PostgreSQL enums, as used
          by very recent SQL::Translator
        - Added support for PostgreSQL enum types
        - Added table/column comment support for Oracle
        - Fix missing require (RT#62072)
2011-11-14 09:39:38 +00:00

68 lines
3.2 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2011/11/14 09:39:38 hiramatsu Exp $
DISTNAME= DBIx-Class-Schema-Loader-0.07012
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-MooseX-MarkAsMethods>=0.13:../../devel/p5-MooseX-MarkAsMethods
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-Test-Warn>=0.21:../../devel/p5-Test-Warn
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-String-CamelCase>=0.02:../../textproc/p5-String-CamelCase
DEPENDS+= p5-String-ToIdentifier-EN>=0.05:../../textproc/p5-String-ToIdentifier-EN
DEPENDS+= p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name
DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
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} -f
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"