84d398784f
pkgsrc changes: - adjust dependencies Upstream changes: 0.07002 2010-09-11 01:48:00 - Properly detect a schema loaded with use_moose on subsequent reloads - Die with a sensible message when a schema loaded with use_moose => 1 is reloaded with use_moose => 0 - Switch to MRO::Compat - Fix oracle common tests failure / lc(undef) warnings - Bump Moose/Moosex::NonMoose optional dependencies to fixed-up versions - Fix mssql common tests failures with MSSQL 2005 (skip test of datatypes found only on MSSQL 2008) - Fix DB2 v8 test failures (skip tests of graphics types found only on DB2 v9) - Fix dangerous invocation of ->meta on classes during upgrade (may be *non* moosified and contain a user-defined meta() ) - Multiple test cleanups and refactorings
65 lines
3 KiB
Makefile
65 lines
3 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2010/09/21 21:50:50 sno Exp $
|
|
|
|
DISTNAME= DBIx-Class-Schema-Loader-0.07002
|
|
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-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-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
|
|
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"
|