Import www/p5-Catalyst-Action-REST

This Action handles doing automatic method dispatching for REST
requests. It takes a normal Catalyst action, and changes the dispatch
to append an underscore and method name. First it will try dispatching
to an action with the generated name, and failing that it will try to
dispatch to a regular method.

OK afresh1@
This commit is contained in:
cwen 2020-08-19 14:06:51 +00:00
parent 36602dfd65
commit 62a555dd2d
4 changed files with 89 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/08/19 14:06:51 cwen Exp $
COMMENT = automated REST Method Dispatching
DISTNAME = Catalyst-Action-REST-1.21
CATEGORIES = www
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
RUN_DEPENDS = www/p5-Catalyst-Runtime>=5.80030 \
devel/p5-Class-Inspector>=1.13 \
converters/p5-JSON-MaybeXS \
devel/p5-MRO-Compat>=0.10 \
devel/p5-Module-Pluggable \
devel/p5-Moose>=1.03 \
devel/p5-Params-Validate>=0.76 \
www/p5-URI-Find \
devel/p5-namespace-autoclean
TEST_DEPENDS = devel/p5-Test-Requires \
devel/p5-YAML-Syck \
www/p5-libwww>=5.0
PKG_ARCH = *
MAKE_ENV += TEST_POD=yes AUTHOR_TESTING=yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Catalyst-Action-REST-1.21.tar.gz) = zPgbulIA06CtaQH5I68XOj1EFmGK6gimk4uq/970yyA=
SIZE (Catalyst-Action-REST-1.21.tar.gz) = 51320

View File

@ -0,0 +1,5 @@
This Action handles doing automatic method dispatching for REST
requests. It takes a normal Catalyst action, and changes the dispatch
to append an underscore and method name. First it will try dispatching
to an action with the generated name, and failing that it will try to
dispatch to a regular method.

View File

@ -0,0 +1,51 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/08/19 14:06:51 cwen Exp $
${P5SITE}/Catalyst/Action/
${P5SITE}/Catalyst/Action/Deserialize/
${P5SITE}/Catalyst/Action/Deserialize.pm
${P5SITE}/Catalyst/Action/Deserialize/Callback.pm
${P5SITE}/Catalyst/Action/Deserialize/JSON/
${P5SITE}/Catalyst/Action/Deserialize/JSON.pm
${P5SITE}/Catalyst/Action/Deserialize/JSON/XS.pm
${P5SITE}/Catalyst/Action/Deserialize/View.pm
${P5SITE}/Catalyst/Action/Deserialize/XML/
${P5SITE}/Catalyst/Action/Deserialize/XML/Simple.pm
${P5SITE}/Catalyst/Action/Deserialize/YAML.pm
${P5SITE}/Catalyst/Action/DeserializeMultiPart.pm
${P5SITE}/Catalyst/Action/REST/
${P5SITE}/Catalyst/Action/REST.pm
${P5SITE}/Catalyst/Action/REST/ForBrowsers.pm
${P5SITE}/Catalyst/Action/Serialize/
${P5SITE}/Catalyst/Action/Serialize.pm
${P5SITE}/Catalyst/Action/Serialize/Callback.pm
${P5SITE}/Catalyst/Action/Serialize/JSON/
${P5SITE}/Catalyst/Action/Serialize/JSON.pm
${P5SITE}/Catalyst/Action/Serialize/JSON/XS.pm
${P5SITE}/Catalyst/Action/Serialize/JSONP.pm
${P5SITE}/Catalyst/Action/Serialize/View.pm
${P5SITE}/Catalyst/Action/Serialize/XML/
${P5SITE}/Catalyst/Action/Serialize/XML/Simple.pm
${P5SITE}/Catalyst/Action/Serialize/YAML/
${P5SITE}/Catalyst/Action/Serialize/YAML.pm
${P5SITE}/Catalyst/Action/Serialize/YAML/HTML.pm
${P5SITE}/Catalyst/Action/SerializeBase.pm
${P5SITE}/Catalyst/Controller/
${P5SITE}/Catalyst/Controller/REST.pm
${P5SITE}/Catalyst/Request/REST/
${P5SITE}/Catalyst/Request/REST.pm
${P5SITE}/Catalyst/Request/REST/ForBrowsers.pm
${P5SITE}/Catalyst/TraitFor/
${P5SITE}/Catalyst/TraitFor/Request/
${P5SITE}/Catalyst/TraitFor/Request/REST/
${P5SITE}/Catalyst/TraitFor/Request/REST.pm
${P5SITE}/Catalyst/TraitFor/Request/REST/ForBrowsers.pm
@man man/man3p/Catalyst::Action::Deserialize.3p
@man man/man3p/Catalyst::Action::DeserializeMultiPart.3p
@man man/man3p/Catalyst::Action::REST.3p
@man man/man3p/Catalyst::Action::REST::ForBrowsers.3p
@man man/man3p/Catalyst::Action::Serialize.3p
@man man/man3p/Catalyst::Action::SerializeBase.3p
@man man/man3p/Catalyst::Controller::REST.3p
@man man/man3p/Catalyst::Request::REST.3p
@man man/man3p/Catalyst::Request::REST::ForBrowsers.3p
@man man/man3p/Catalyst::TraitFor::Request::REST.3p
@man man/man3p/Catalyst::TraitFor::Request::REST::ForBrowsers.3p