git: 469588eff65d - main - Add www/p5-Mojo-IOLoop-Delay, flow-control helpers for Mojo::Promise.
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Apr 6 16:25:01 UTC 2021
The branch main has been updated by olgeni:
URL: https://cgit.FreeBSD.org/ports/commit/?id=469588eff65d46acd5d2d599190727adbef06fee
commit 469588eff65d46acd5d2d599190727adbef06fee
Author: Jimmy Olgeni <olgeni at FreeBSD.org>
AuthorDate: 2021-04-06 15:30:47 +0000
Commit: Jimmy Olgeni <olgeni at FreeBSD.org>
CommitDate: 2021-04-06 16:24:53 +0000
Add www/p5-Mojo-IOLoop-Delay, flow-control helpers for Mojo::Promise.
This library was extracted from Mojolicious 9.0, which dropped
it. It is required to make sysutils/znapzend work properly.
---
www/Makefile | 1 +
www/p5-Mojo-IOLoop-Delay/Makefile | 21 +++++++++++++++++++++
www/p5-Mojo-IOLoop-Delay/distinfo | 3 +++
www/p5-Mojo-IOLoop-Delay/pkg-descr | 5 +++++
www/p5-Mojo-IOLoop-Delay/pkg-plist | 2 ++
5 files changed, 32 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index c4ddfc85187d..3a8232f5a6c0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -995,6 +995,7 @@
SUBDIR += p5-MediaWiki-API
SUBDIR += p5-Mobile-UserAgent
SUBDIR += p5-ModPerl-VersionUtil
+ SUBDIR += p5-Mojo-IOLoop-Delay
SUBDIR += p5-Mojo-IOLoop-ForkCall
SUBDIR += p5-Mojo-Server-FastCGI
SUBDIR += p5-Mojo-Weixin
diff --git a/www/p5-Mojo-IOLoop-Delay/Makefile b/www/p5-Mojo-IOLoop-Delay/Makefile
new file mode 100644
index 000000000000..d913b8e158f0
--- /dev/null
+++ b/www/p5-Mojo-IOLoop-Delay/Makefile
@@ -0,0 +1,21 @@
+
+PORTNAME= Mojo-IOLoop-Delay
+PORTVERSION= 8.76
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:JBERGER
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= olgeni at FreeBSD.org
+COMMENT= Flow-control helpers for Mojo::Promise
+
+LICENSE= ART20
+
+BUILD_DEPENDS= p5-Module-Build-Tiny>0:devel/p5-Module-Build-Tiny
+RUN_DEPENDS= p5-Mojolicious>=5.08:www/p5-Mojolicious
+
+USES= perl5
+USE_PERL5= modbuild
+PL_BUILD= Build
+
+.include <bsd.port.mk>
diff --git a/www/p5-Mojo-IOLoop-Delay/distinfo b/www/p5-Mojo-IOLoop-Delay/distinfo
new file mode 100644
index 000000000000..5698300bdb6a
--- /dev/null
+++ b/www/p5-Mojo-IOLoop-Delay/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1617181133
+SHA256 (Mojo-IOLoop-Delay-8.76.tar.gz) = 8ecbc061483721d9204594326bece95ccdbfbdb6d18a173c82dd718172d0a9ed
+SIZE (Mojo-IOLoop-Delay-8.76.tar.gz) = 9375
diff --git a/www/p5-Mojo-IOLoop-Delay/pkg-descr b/www/p5-Mojo-IOLoop-Delay/pkg-descr
new file mode 100644
index 000000000000..d3844257caeb
--- /dev/null
+++ b/www/p5-Mojo-IOLoop-Delay/pkg-descr
@@ -0,0 +1,5 @@
+Mojo::IOLoop::Delay adds flow-control helpers to Mojo::Promise,
+which can help you avoid deep nested closures that often result
+from continuation-passing style.
+
+WWW: https://metacpan.org/release/Mojo-IOLoop-Delay
diff --git a/www/p5-Mojo-IOLoop-Delay/pkg-plist b/www/p5-Mojo-IOLoop-Delay/pkg-plist
new file mode 100644
index 000000000000..c528863c470e
--- /dev/null
+++ b/www/p5-Mojo-IOLoop-Delay/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Mojo/IOLoop/Delay.pm
+%%PERL5_MAN3%%/Mojo::IOLoop::Delay.3.gz
More information about the dev-commits-ports-all
mailing list