pkgsrc/databases/p5-CatalystX-CRUD/Makefile

33 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 2009/09/24 06:50:11 sno Exp $
DISTNAME= CatalystX-CRUD-0.45
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CatalystX/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/CatalystX-CRUD/
COMMENT= CRUD framework for Catalyst applications
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Catalyst-Component-ACCEPT_CONTEXT>=0.06:../../www/p5-Catalyst-Component-ACCEPT_CONTEXT
DEPENDS+= p5-Catalyst-Runtime>=5.80003:../../www/p5-Catalyst-Runtime
DEPENDS+= p5-Class-C3>=0.2:../../devel/p5-Class-C3
DEPENDS+= p5-Data-Dump-[0-9]*:../../devel/p5-Data-Dump
DEPENDS+= p5-Data-Pageset-[0-9]*:../../devel/p5-Data-Pageset
DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
DEPENDS+= p5-MooseX-Emulate-Class-Accessor-Fast-[0-9]*:../../devel/p5-MooseX-Emulate-Class-Accessor-Fast
DEPENDS+= p5-MRO-Compat>=0.1:../../devel/p5-MRO-Compat
DEPENDS+= p5-Path-Class-[0-9]*:../../devel/p5-Path-Class
Update from version 0.29 to 0.31. Pkgsrc changes: o Add dependency on newly added p5-Search-QueryParser-SQL Upstream changes: 0.31 16 Sept 2008 * add missing req to Makefile.PL * force field_names to be an ARRAY ref in Utils make_sql_query() 0.30 11 Sept 2008 * fix uninit value warning in Controller * change REST create() : Local to _rest_create() : Path('create') to make it easier for create_form() to call create() in superclass. * clean up old style $self->config->{value} to instead use $self->value in Controller * add app_class() and model_meta() accessors to ModelAdapter * in base Controller, rename view_on_single_result() method to uri_for_view_on_single_result and make accessor for the config value 'view_on_single_result' * change all reserved param names in Model::Utils to use 'cxc-' prefix instead of '_'. Backwards compat is preserved where possible. * Model::Utils make_query() will uc() sort direction * change behaviour of get_primary_key() in base Controller to not look in req->params for pk values. This allows for changing the PK as part of an update. * add new() in REST to call next::method. Works around (some) multiple inheritance issues. * check for $c->res->location before redirecting in postcommit() * Model::Utils was refactored to use Search::QueryParser::SQL. The following methods were affected: * sql_query_as_string() -- removed * params_to_sql_query() -- now returns hashref with 3 items: - query isa Search::QueryParser::SQL::Query object - query_hash (formerly query) is a simple param-name => [values] hashref - sql is the output of S::QP::S::Query->rdbo * make_sql_query() -- returned hash ref now has query_hash as plain_query value and the stringify'd Query object as plain_query_str
2008-10-13 00:04:21 +02:00
DEPENDS+= p5-Search-QueryParser-SQL>=0.005:../../databases/p5-Search-QueryParser-SQL
DEPENDS+= p5-Sort-SQL>=0.04:../../databases/p5-Sort-SQL
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/CatalystX/CRUD/.packlist
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"