pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Mojo-IOLoop-ForkCall



Module Name:    pkgsrc
Committed By:   abs
Date:           Thu Aug 25 10:28:43 UTC 2022

Modified Files:
        pkgsrc/devel/p5-Mojo-IOLoop-ForkCall: DESCR Makefile distinfo

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/DESCR
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/DESCR
diff -u pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/DESCR:1.3 pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/DESCR:1.4
--- pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/DESCR:1.3      Thu Aug 25 10:21:21 2022
+++ pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/DESCR  Thu Aug 25 10:28:43 2022
@@ -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.

Index: pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/Makefile
diff -u pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/Makefile:1.19 pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/Makefile:1.20
--- pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/Makefile:1.19  Thu Aug 25 10:21:21 2022
+++ pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/Makefile       Thu Aug 25 10:28:43 2022
@@ -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"

Index: pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/distinfo
diff -u pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/distinfo:1.13 pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/distinfo:1.14
--- pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/distinfo:1.13  Thu Aug 25 10:21:21 2022
+++ pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/distinfo       Thu Aug 25 10:28:43 2022
@@ -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