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