pkgsrc/www/p5-Catalyst-Action-REST/Makefile
wen be98513d06 Update to 1.17
Upstream changes:
1.17      2014-10-23 19:58:46-05:00 America/Chicago
 - Make 3xx status codes skip serialization when there is no data to serialize
   (Thanks Jesse Sheidlower!)

1.16      2014-09-12 13:21:43-05:00 America/Chicago
 - Switch from JSON to JSON::MaybeXS to get a better choice of JSON parsers.

1.15      2014-05-07 09:02:44-05:00 CST6CDT

 - Added new status_see_other method for returning a 303 redirect.
 - Added new status_moved method for returning a 301 redirect. (Matthew Keller)

1.14      2013-12-27 15:32:19 America/Chicago

 - Stop prompting for features at install time

1.13  2013-11-08 09:40:00 EST

 - Fix tests to skip if YAML::Syck is not installed (Arthur Axel fREW Schmidt)

1.12  2013-09-03 13:00:00 EST

 WARNING BACK COMPAT BREAKAGE FOLLOWS

 Removed The YAML and HTML parser from the distro.  You
 should install these if you actually use them.  They are listed as
 optional dependencies going forward.

 This is possibly a breaking change, but necessary for security and
 considered acceptable since those formats have not generally
 become preferred for web services.

 In addition, the default de/serialization mappings for HTML and YAML
 have been removed.  You can add that back by adding the following to
 you Configuration for the subclass of Catalyst::Controller::REST -

    package Foo::Controller::Bar;

    use Moose;
    use namespace::autoclean;

    BEGIN { extends 'Catalyst::Controller::REST' }
    __PACKAGE__->config(
      'map' => {
        'text/html'          => 'YAML::HTML',
        'text/x-yaml'        => 'YAML',
      },
    );

 You should do this if you are using these de/serialization formats.
2014-11-06 03:02:47 +00:00

35 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2014/11/06 03:02:47 wen Exp $
DISTNAME= Catalyst-Action-REST-1.17
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Catalyst/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Catalyst-Action-REST/
COMMENT= Automated REST Method Dispatching
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Catalyst-Runtime>=5.80030:../../www/p5-Catalyst-Runtime
DEPENDS+= p5-Class-Inspector>=1.13:../../devel/p5-Class-Inspector
DEPENDS+= p5-Config-General-[0-9]*:../../devel/p5-Config-General
DEPENDS+= p5-Data-Serializer>=0.36:../../devel/p5-Data-Serializer
DEPENDS+= p5-Data-Taxi-[0-9]*:../../devel/p5-Data-Taxi
DEPENDS+= p5-FreezeThaw-[0-9]*:../../devel/p5-FreezeThaw
DEPENDS+= p5-JSON>=2.12:../../converters/p5-JSON
DEPENDS+= p5-MRO-Compat>=0.10:../../devel/p5-MRO-Compat
DEPENDS+= p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable
DEPENDS+= p5-Moose>=1.03:../../devel/p5-Moose
DEPENDS+= p5-PHP-Serialization-[0-9]*:../../devel/p5-PHP-Serialization
DEPENDS+= p5-Params-Validate>=0.76:../../devel/p5-Params-Validate
DEPENDS+= p5-URI-Find-[0-9]*:../../www/p5-URI-Find
DEPENDS+= p5-YAML-Syck>=0.67:../../textproc/p5-YAML-Syck
DEPENDS+= p5-libwww>=5.831:../../www/p5-libwww
DEPENDS+= p5-namespace-autoclean-[0-9]*:../../devel/p5-namespace-autoclean
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Catalyst/Action/REST/.packlist
PERL5_MODULE_TYPE= Module::Install::Bundled
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"