1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add devel/p5-Minion, an asynchronous job queue for Mojolicious.

Minion is a job queue for the Mojolicious real-time web framework with support
for multiple backends, such as DBM::Deep and PostgreSQL.

A job queue allows you to process time and/or computationally intensive tasks
in background processes, outside of the request/response lifecycle. Among those
tasks you'll commonly find image resizing, spam filtering, HTTP downloads,
building tarballs, warming caches and basically everything else you can imagine
that's not super fast.

WWW: https://metacpan.org/pod/Minion
This commit is contained in:
Adam Weinberger 2015-03-17 16:03:31 +00:00
parent 3d0b3870a2
commit 805e1104ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381500
5 changed files with 61 additions and 0 deletions

View File

@ -2399,6 +2399,7 @@
SUBDIR += p5-Metabase-Fact
SUBDIR += p5-Method-Alias
SUBDIR += p5-Method-Signatures-Simple
SUBDIR += p5-Minion
SUBDIR += p5-Mixin-Linewise
SUBDIR += p5-Mknod
SUBDIR += p5-Mo

28
devel/p5-Minion/Makefile Normal file
View File

@ -0,0 +1,28 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= Minion
PORTVERSION= 1.12
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SRI
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Asynchronous job queue for Mojolicious
LICENSE= ART20
BUILD_DEPENDS= p5-DBM-Deep>=2.0011:${PORTSDIR}/databases/p5-DBM-Deep \
p5-Mojolicious>=6.0:${PORTSDIR}/www/p5-Mojolicious
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= PGSQL
PGSQL_BUILD_DEPENDS= p5-Mojo-Pg>=0:${PORTSDIR}/databases/p5-Mojo-Pg
PGSQL_RUN_DEPENDS= ${PGSQL_BUILD_DEPENDS}
.include <bsd.port.mk>

2
devel/p5-Minion/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (Minion-1.12.tar.gz) = 1dccfeb9ae17bc6030f82fcb13780f548b4ecacfb805cdf9f59b34c6f798e659
SIZE (Minion-1.12.tar.gz) = 24308

10
devel/p5-Minion/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
Minion is a job queue for the Mojolicious real-time web framework with support
for multiple backends, such as DBM::Deep and PostgreSQL.
A job queue allows you to process time and/or computationally intensive tasks
in background processes, outside of the request/response lifecycle. Among those
tasks you'll commonly find image resizing, spam filtering, HTTP downloads,
building tarballs, warming caches and basically everything else you can imagine
that's not super fast.
WWW: https://metacpan.org/pod/Minion

20
devel/p5-Minion/pkg-plist Normal file
View File

@ -0,0 +1,20 @@
%%SITE_PERL%%/Minion.pm
%%SITE_PERL%%/Minion/Backend.pm
%%SITE_PERL%%/Minion/Backend/File.pm
%%SITE_PERL%%/Minion/Backend/Pg.pm
%%SITE_PERL%%/Minion/Command/minion.pm
%%SITE_PERL%%/Minion/Command/minion/job.pm
%%SITE_PERL%%/Minion/Command/minion/worker.pm
%%SITE_PERL%%/Minion/Job.pm
%%SITE_PERL%%/Minion/Worker.pm
%%SITE_PERL%%/Mojolicious/Plugin/Minion.pm
%%PERL5_MAN3%%/Minion.3.gz
%%PERL5_MAN3%%/Minion::Backend.3.gz
%%PERL5_MAN3%%/Minion::Backend::File.3.gz
%%PERL5_MAN3%%/Minion::Backend::Pg.3.gz
%%PERL5_MAN3%%/Minion::Command::minion.3.gz
%%PERL5_MAN3%%/Minion::Command::minion::job.3.gz
%%PERL5_MAN3%%/Minion::Command::minion::worker.3.gz
%%PERL5_MAN3%%/Minion::Job.3.gz
%%PERL5_MAN3%%/Minion::Worker.3.gz
%%PERL5_MAN3%%/Mojolicious::Plugin::Minion.3.gz