git: 788823435903 - main - devel/p5-Future-IO: Add p5-Future-IO 0.10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Nov 2021 18:27:22 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=788823435903eea0fb96fa60b9e7a1d1e5028d52 commit 788823435903eea0fb96fa60b9e7a1d1e5028d52 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-11-21 18:18:14 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-11-21 18:18:14 +0000 devel/p5-Future-IO: Add p5-Future-IO 0.10 Future::IO provides a few basic methods that behave similarly to the same-named core perl functions relating to IO operations, but yield their results asynchronously via Future instances. This is provided primarily as a decoupling mechanism, to allow modules to be written that perform IO in an asynchronous manner to depend directly on this, while allowing asynchronous event systems to provide an implementation of these operations. WWW: https://metacpan.org/dist/Future-IO --- devel/Makefile | 1 + devel/p5-Future-IO/Makefile | 27 +++++++++++++++++++++++++++ devel/p5-Future-IO/distinfo | 3 +++ devel/p5-Future-IO/pkg-descr | 10 ++++++++++ devel/p5-Future-IO/pkg-plist | 6 ++++++ 5 files changed, 47 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 076197673c7a..def3b0972c97 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2509,6 +2509,7 @@ SUBDIR += p5-Function-Fallback-CoreOrPP SUBDIR += p5-Function-Parameters SUBDIR += p5-Future + SUBDIR += p5-Future-IO SUBDIR += p5-Gearman SUBDIR += p5-Gearman-Client-Async SUBDIR += p5-Gearman-Server diff --git a/devel/p5-Future-IO/Makefile b/devel/p5-Future-IO/Makefile new file mode 100644 index 000000000000..845c272df0ea --- /dev/null +++ b/devel/p5-Future-IO/Makefile @@ -0,0 +1,27 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= Future-IO +PORTVERSION= 0.10 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:PEVANS +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Future-returning IO methods + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Future>=0:devel/p5-Future \ + p5-Struct-Dumb>=0:devel/p5-Struct-Dumb +TEST_DEPENDS= p5-Test-Identity>=0:devel/p5-Test-Identity + +USES= perl5 +USE_PERL5= modbuild + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-Future-IO/distinfo b/devel/p5-Future-IO/distinfo new file mode 100644 index 000000000000..db05192b6d7b --- /dev/null +++ b/devel/p5-Future-IO/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1637072880 +SHA256 (Future-IO-0.10.tar.gz) = b19441b083e8b90ace8ac6a04c22431e69d5bfbb2a7d94060e62808415a0ba66 +SIZE (Future-IO-0.10.tar.gz) = 20646 diff --git a/devel/p5-Future-IO/pkg-descr b/devel/p5-Future-IO/pkg-descr new file mode 100644 index 000000000000..c416fd5e8261 --- /dev/null +++ b/devel/p5-Future-IO/pkg-descr @@ -0,0 +1,10 @@ +Future::IO provides a few basic methods that behave similarly to the same-named +core perl functions relating to IO operations, but yield their results +asynchronously via Future instances. + +This is provided primarily as a decoupling mechanism, to allow modules to be +written that perform IO in an asynchronous manner to depend directly on this, +while allowing asynchronous event systems to provide an implementation of these +operations. + +WWW: https://metacpan.org/dist/Future-IO diff --git a/devel/p5-Future-IO/pkg-plist b/devel/p5-Future-IO/pkg-plist new file mode 100644 index 000000000000..cfc8a1c179e6 --- /dev/null +++ b/devel/p5-Future-IO/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Future/IO.pm +%%SITE_PERL%%/Future/IO/ImplBase.pm +%%SITE_PERL%%/Test/Future/IO/Impl.pm +%%PERL5_MAN3%%/Future::IO.3.gz +%%PERL5_MAN3%%/Future::IO::ImplBase.3.gz +%%PERL5_MAN3%%/Test::Future::IO::Impl.3.gz