From nobody Sun Nov 21 18:27:22 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 003D1189B50D; Sun, 21 Nov 2021 18:27:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HxzQf6Q0gz3J5N; Sun, 21 Nov 2021 18:27:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B74E713EDA; Sun, 21 Nov 2021 18:27:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1ALIRML6083544; Sun, 21 Nov 2021 18:27:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ALIRMUI083543; Sun, 21 Nov 2021 18:27:22 GMT (envelope-from git) Date: Sun, 21 Nov 2021 18:27:22 GMT Message-Id: <202111211827.1ALIRMUI083543@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 788823435903 - main - devel/p5-Future-IO: Add p5-Future-IO 0.10 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 788823435903eea0fb96fa60b9e7a1d1e5028d52 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=788823435903eea0fb96fa60b9e7a1d1e5028d52 commit 788823435903eea0fb96fa60b9e7a1d1e5028d52 Author: Po-Chuan Hsieh AuthorDate: 2021-11-21 18:18:14 +0000 Commit: Po-Chuan Hsieh 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 + +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 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