pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Mojo-IOLoop-ForkCall Add p5-Mojo-IOLoop-Delay...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c104459ef8be
branches:  trunk
changeset: 383992:c104459ef8be
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 25 10:21:21 2022 +0000

description:
Add p5-Mojo-IOLoop-Delay-8.76

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.

This module has been extracted from Mojolicious and was removed
from it at the 9.0 release. It is kept here for backwards compatibility
purposes but there is no intention to maintain it further and it
should be migrated away from as your earliest convenience.

Though there is no intention of removing it from CPAN in the future
it should be treated as deprecated and the metadata will mark it
as such. It will receive no no-security-related changes going
forward.

diffstat:

 devel/p5-Mojo-IOLoop-ForkCall/DESCR    |  21 +++++++++++----------
 devel/p5-Mojo-IOLoop-ForkCall/Makefile |  17 ++++++++---------
 devel/p5-Mojo-IOLoop-ForkCall/distinfo |   8 ++++----
 3 files changed, 23 insertions(+), 23 deletions(-)

diffs (73 lines):

diff -r 25477cd1b77f -r c104459ef8be devel/p5-Mojo-IOLoop-ForkCall/DESCR
--- a/devel/p5-Mojo-IOLoop-ForkCall/DESCR       Thu Aug 25 10:08:06 2022 +0000
+++ b/devel/p5-Mojo-IOLoop-ForkCall/DESCR       Thu Aug 25 10:21:21 2022 +0000
@@ -1,12 +1,13 @@
-Asynchronous programming can be benefitial for performance, however
-not all functions are written for nonblocking interaction and
-external processes almost never are.
+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.
 
-By forking the blocking call into a new process, the main thread may
-continue to run non-blocking, while the blocking call evaluates.
-Mojo::IOLoop::ForkCall manages the forking and will emit an
-event (or execute a callback) when the forked process completes.
-Return values are serialized and sent from the child to the parent
-via an appropriate pipe for your platform.
+This module has been extracted from Mojolicious and was removed
+from it at the 9.0 release. It is kept here for backwards compatibility
+purposes but there is no intention to maintain it further and it
+should be migrated away from as your earliest convenience.
 
-Deprecated! Use Mojo::IOLoop::Subprocess instead.
+Though there is no intention of removing it from CPAN in the future
+it should be treated as deprecated and the metadata will mark it
+as such. It will receive no no-security-related changes going
+forward.
diff -r 25477cd1b77f -r c104459ef8be devel/p5-Mojo-IOLoop-ForkCall/Makefile
--- a/devel/p5-Mojo-IOLoop-ForkCall/Makefile    Thu Aug 25 10:08:06 2022 +0000
+++ b/devel/p5-Mojo-IOLoop-ForkCall/Makefile    Thu Aug 25 10:21:21 2022 +0000
@@ -1,21 +1,20 @@
-# $NetBSD: Makefile,v 1.18 2022/08/25 10:08:06 abs Exp $
+# $NetBSD: Makefile,v 1.19 2022/08/25 10:21:21 abs Exp $
 
-GITHUB_PROJECT=        Mojo-IOLoop-ForkCall
-DISTNAME=      Mojo-IOLoop-ForkCall-0.21
+GITHUB_PROJECT=        Mojo-IOLoop-Delay
+DISTNAME=      Mojo-IOLoop-Delay-8.76
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jberger/}
 
-MAINTAINER=    wiedi%frubar.net@localhost
-HOMEPAGE=      https://github.com/jberger/Mojo-IOLoop-ForkCall/
-COMMENT=       Execute a code block asynchronously by forking
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jberger/Mojo-IOLoop-Delay
+COMMENT=       Promises/A+ and flow-control helpers (deprecated)
 LICENSE=       ${PERL5_LICENSE}
 
-PERL5_MODULE_TYPE=     Module::Build
-PERL5_PACKLIST=                auto/Mojo/IOLoop/ForkCall/.packlist
+PERL5_MODULE_TYPE=     Module::Build::Tiny
+PERL5_PACKLIST=                auto/Mojo/IOLoop/Delay/.packlist
 USE_LANGUAGES=         # none
 
-DEPENDS+=      p5-IO-Pipely-[0-9]*:../../devel/p5-IO-Pipely
 DEPENDS+=      p5-Mojolicious>=5.08:../../www/p5-Mojolicious
 
 .include "../../lang/perl5/module.mk"
diff -r 25477cd1b77f -r c104459ef8be devel/p5-Mojo-IOLoop-ForkCall/distinfo
--- a/devel/p5-Mojo-IOLoop-ForkCall/distinfo    Thu Aug 25 10:08:06 2022 +0000
+++ b/devel/p5-Mojo-IOLoop-ForkCall/distinfo    Thu Aug 25 10:21:21 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2022/08/25 10:08:06 abs Exp $
+$NetBSD: distinfo,v 1.13 2022/08/25 10:21:21 abs Exp $
 
-BLAKE2s (Mojo-IOLoop-ForkCall-0.21.tar.gz) = 4251a982cc0010ec5cffbbe7dfb9a9f7b502dc3db5937f853379d1f48391e626
-SHA512 (Mojo-IOLoop-ForkCall-0.21.tar.gz) = d5d5b9be92e8e41cb6dee58af2c8313d79ecb28987dfc6b0b99ce6946ec525bd1d5ef5ee1e931f7406f09da118795ca640bc6b741dc6fb55de55eff5b6e0c65a
-Size (Mojo-IOLoop-ForkCall-0.21.tar.gz) = 10679 bytes
+BLAKE2s (Mojo-IOLoop-Delay-8.76.tar.gz) = c4aea377c951643217e1a41f089c9cce1e968199ec9fc23cfe339a061a422dec
+SHA512 (Mojo-IOLoop-Delay-8.76.tar.gz) = b0cb621dca157fafcbaf8a5c57b6e94c3d80f804a3e708c1accbbf35ada636ed929b33382f0ce3f018cb02ca472b8739dbbca28dc3caddca0cc762363a04bd78
+Size (Mojo-IOLoop-Delay-8.76.tar.gz) = 8886 bytes



Home | Main Index | Thread Index | Old Index