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 Fixup p5-Mojo-IOLoop-For...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79b22635814d
branches:  trunk
changeset: 383995:79b22635814d
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 25 10:28:43 2022 +0000

description:
Fixup p5-Mojo-IOLoop-ForkCall after bad commit of p5-Mojo-IOLoop-Delay

Bump PKGREVISION for new dependency on p5-Mojo-IOLoop-Delay

diffstat:

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

diffs (75 lines):

diff -r a547f91bcae0 -r 79b22635814d devel/p5-Mojo-IOLoop-ForkCall/DESCR
--- a/devel/p5-Mojo-IOLoop-ForkCall/DESCR       Thu Aug 25 10:26:13 2022 +0000
+++ b/devel/p5-Mojo-IOLoop-ForkCall/DESCR       Thu Aug 25 10:28:43 2022 +0000
@@ -1,13 +1,12 @@
-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.
+Asynchronous programming can be benefitial for performance, however
+not all functions are written for nonblocking interaction and
+external processes almost never are.
 
-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.
+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.
 
-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.
+Deprecated! Use Mojo::IOLoop::Subprocess instead.
diff -r a547f91bcae0 -r 79b22635814d devel/p5-Mojo-IOLoop-ForkCall/Makefile
--- a/devel/p5-Mojo-IOLoop-ForkCall/Makefile    Thu Aug 25 10:26:13 2022 +0000
+++ b/devel/p5-Mojo-IOLoop-ForkCall/Makefile    Thu Aug 25 10:28:43 2022 +0000
@@ -1,20 +1,23 @@
-# $NetBSD: Makefile,v 1.19 2022/08/25 10:21:21 abs Exp $
+# $NetBSD: Makefile,v 1.20 2022/08/25 10:28:43 abs Exp $
 
-GITHUB_PROJECT=        Mojo-IOLoop-Delay
-DISTNAME=      Mojo-IOLoop-Delay-8.76
+GITHUB_PROJECT=        Mojo-IOLoop-ForkCall
+PKGREVISION=   1
+DISTNAME=      Mojo-IOLoop-ForkCall-0.21
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jberger/}
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/jberger/Mojo-IOLoop-Delay
-COMMENT=       Promises/A+ and flow-control helpers (deprecated)
+MAINTAINER=    wiedi%frubar.net@localhost
+HOMEPAGE=      https://github.com/jberger/Mojo-IOLoop-ForkCall/
+COMMENT=       Execute a code block asynchronously by forking
 LICENSE=       ${PERL5_LICENSE}
 
-PERL5_MODULE_TYPE=     Module::Build::Tiny
-PERL5_PACKLIST=                auto/Mojo/IOLoop/Delay/.packlist
+PERL5_MODULE_TYPE=     Module::Build
+PERL5_PACKLIST=                auto/Mojo/IOLoop/ForkCall/.packlist
 USE_LANGUAGES=         # none
 
+DEPENDS+=      p5-IO-Pipely-[0-9]*:../../devel/p5-IO-Pipely
+DEPENDS+=      p5-Mojo-IOLoop-Delay>=8.76:../../devel/p5-Mojo-IOLoop-Delay
 DEPENDS+=      p5-Mojolicious>=5.08:../../www/p5-Mojolicious
 
 .include "../../lang/perl5/module.mk"
diff -r a547f91bcae0 -r 79b22635814d devel/p5-Mojo-IOLoop-ForkCall/distinfo
--- a/devel/p5-Mojo-IOLoop-ForkCall/distinfo    Thu Aug 25 10:26:13 2022 +0000
+++ b/devel/p5-Mojo-IOLoop-ForkCall/distinfo    Thu Aug 25 10:28:43 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2022/08/25 10:21:21 abs Exp $
+$NetBSD: distinfo,v 1.14 2022/08/25 10:28:43 abs Exp $
 
-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
+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



Home | Main Index | Thread Index | Old Index