Import of p5-Web-Machine-0.17; ok ajacoutot@

This commit is contained in:
robert 2021-01-18 13:37:32 +00:00
parent 2850e2ff2c
commit afd7ccb46d
4 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/01/18 13:37:32 robert Exp $
COMMENT = perl port of Webmachine
DISTNAME = Web-Machine-0.17
CATEGORIES = www
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
PKG_ARCH = *
RUN_DEPENDS = devel/p5-IO-Handle-Util \
www/p5-HTTP-Headers-ActionPack
TEST_DEPENDS = devel/p5-Test-FailWarnings \
converters/p5-Cpanel-JSON-XS
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Web-Machine-0.17.tar.gz) = 8TnSsxFMVJ6RhH2qq4t1y2meV9r1u/Db0TKT8z/l4io=
SIZE (Web-Machine-0.17.tar.gz) = 73528

View File

@ -0,0 +1,10 @@
Web::Machine provides a RESTful web framework modeled as a state machine.
You define one or more resource classes. Each resource represents a single
RESTful URI end point, such as a user, an email, etc. The resource class can
also be the target for POST requests to create a new user, email, etc.
Each resource is a state machine, and each request for a resource is handled by
running the request through that state machine.
Web::Machine is built on top of Plack, but it handles the full request and
response cycle.

View File

@ -0,0 +1,27 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/01/18 13:37:32 robert Exp $
@conflict p5-libwww-<6.0
${P5SITE}/Web/
${P5SITE}/Web/Machine/
${P5SITE}/Web/Machine.pm
${P5SITE}/Web/Machine/FSM/
${P5SITE}/Web/Machine/FSM.pm
${P5SITE}/Web/Machine/FSM/States.pm
${P5SITE}/Web/Machine/I18N/
${P5SITE}/Web/Machine/I18N.pm
${P5SITE}/Web/Machine/I18N/en.pm
${P5SITE}/Web/Machine/Manual.pod
${P5SITE}/Web/Machine/Resource.pm
${P5SITE}/Web/Machine/Util/
${P5SITE}/Web/Machine/Util.pm
${P5SITE}/Web/Machine/Util/BodyEncoding.pm
${P5SITE}/Web/Machine/Util/ContentNegotiation.pm
@man man/man3p/Web::Machine.3p
@man man/man3p/Web::Machine::FSM.3p
@man man/man3p/Web::Machine::FSM::States.3p
@man man/man3p/Web::Machine::I18N.3p
@man man/man3p/Web::Machine::I18N::en.3p
@man man/man3p/Web::Machine::Manual.3p
@man man/man3p/Web::Machine::Resource.3p
@man man/man3p/Web::Machine::Util.3p
@man man/man3p/Web::Machine::Util::BodyEncoding.3p
@man man/man3p/Web::Machine::Util::ContentNegotiation.3p