Date: Fri, 24 Jul 2020 10:06:55 +0000 (UTC) From: Mikael Urankar <mikael@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543237 - in head/www: . p5-Web-Machine Message-ID: <202007241006.06OA6tlU082033@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mikael Date: Fri Jul 24 10:06:55 2020 New Revision: 543237 URL: https://svnweb.freebsd.org/changeset/ports/543237 Log: www/p5-Web-Machine: create port 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. PR: 248041 Added: head/www/p5-Web-Machine/ head/www/p5-Web-Machine/Makefile (contents, props changed) head/www/p5-Web-Machine/distinfo (contents, props changed) head/www/p5-Web-Machine/pkg-descr (contents, props changed) head/www/p5-Web-Machine/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Fri Jul 24 10:05:45 2020 (r543236) +++ head/www/Makefile Fri Jul 24 10:06:55 2020 (r543237) @@ -1259,6 +1259,7 @@ SUBDIR += p5-WWW-Yandex-TIC SUBDIR += p5-WWW-iTunesConnect SUBDIR += p5-Web-Query + SUBDIR += p5-Web-Machine SUBDIR += p5-Web-Scraper SUBDIR += p5-Web-Scraper-Config SUBDIR += p5-Web-Simple Added: head/www/p5-Web-Machine/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Web-Machine/Makefile Fri Jul 24 10:06:55 2020 (r543237) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= Web-Machine +PORTVERSION= 0.17 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= mikael@FreeBSD.org +COMMENT= Perl port of Webmachine + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +RUN_DEPENDS= p5-HTTP-Headers-ActionPack>0:www/p5-HTTP-Headers-ActionPack \ + p5-IO-Handle-Util>0:devel/p5-IO-Handle-Util + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> Added: head/www/p5-Web-Machine/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Web-Machine/distinfo Fri Jul 24 10:06:55 2020 (r543237) @@ -0,0 +1,3 @@ +TIMESTAMP = 1594975235 +SHA256 (Web-Machine-0.17.tar.gz) = f139d2b3114c549e91847daaab8b75cb699e57daf5bbf0dbd13293f33fe5e22a +SIZE (Web-Machine-0.17.tar.gz) = 73528 Added: head/www/p5-Web-Machine/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Web-Machine/pkg-descr Fri Jul 24 10:06:55 2020 (r543237) @@ -0,0 +1,13 @@ +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. + +WWW: https://metacpan.org/pod/Web::Machine +WWW: https://github.com/sartak/webmachine-perl Added: head/www/p5-Web-Machine/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Web-Machine/pkg-plist Fri Jul 24 10:06:55 2020 (r543237) @@ -0,0 +1,20 @@ +%%SITE_PERL%%/Web/Machine.pm +%%SITE_PERL%%/Web/Machine/FSM.pm +%%SITE_PERL%%/Web/Machine/FSM/States.pm +%%SITE_PERL%%/Web/Machine/I18N.pm +%%SITE_PERL%%/Web/Machine/I18N/en.pm +%%SITE_PERL%%/Web/Machine/Manual.pod +%%SITE_PERL%%/Web/Machine/Resource.pm +%%SITE_PERL%%/Web/Machine/Util.pm +%%SITE_PERL%%/Web/Machine/Util/BodyEncoding.pm +%%SITE_PERL%%/Web/Machine/Util/ContentNegotiation.pm +%%PERL5_MAN3%%/Web::Machine.3.gz +%%PERL5_MAN3%%/Web::Machine::FSM.3.gz +%%PERL5_MAN3%%/Web::Machine::FSM::States.3.gz +%%PERL5_MAN3%%/Web::Machine::I18N.3.gz +%%PERL5_MAN3%%/Web::Machine::I18N::en.3.gz +%%PERL5_MAN3%%/Web::Machine::Manual.3.gz +%%PERL5_MAN3%%/Web::Machine::Resource.3.gz +%%PERL5_MAN3%%/Web::Machine::Util.3.gz +%%PERL5_MAN3%%/Web::Machine::Util::BodyEncoding.3.gz +%%PERL5_MAN3%%/Web::Machine::Util::ContentNegotiation.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007241006.06OA6tlU082033>