From nobody Mon Jan 30 13:04:32 2023 X-Original-To: dev-commits-ports-all@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 4P57gN5Ss6z3cY0C; Mon, 30 Jan 2023 13:04:32 +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 4P57gN4Z6bz4KB2; Mon, 30 Jan 2023 13:04:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675083872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/feoO8ywpwalKNm1Ggej30OkxDNqwwJF+RD1EVXmVHo=; b=hI5CCCcntk27oMtfofZVB04MsZAVtV/cWQfzrYrBQqSfXJxwBuk4c3LMqFskuvo4ED3m09 Ltvs25nlJCYQhgpfbTvsQoMHd9GVqrcD8uNrVUbL15vgSIQZ1roEMICW5j+4XWMWoS9Ym0 VeZEPI9eNJOued7tKA2Tc8k8pQsHf+h2UAThDcLsBMMErSTBvOk9Zglp6fPKFHD6q5wtWM sj683s1QvMOjN/gbO8wHwG0/C3vi5fQoLHGlxmKFqBpbo/gr0yPgC/0/xU4sm186FaySGs DU6PuOUkJMUXKJAYotuH+f8YlqtnEz60ze0hyIsl7d3iOC4zeEAeOylkPbMJjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675083872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/feoO8ywpwalKNm1Ggej30OkxDNqwwJF+RD1EVXmVHo=; b=QuPHE57Oir5zLV53KAdZlGl+sLYspxZ1V6tyJymKwT/bPwk0FxHrFSs2SwM2pIyK7GSdLa 1i1EIpF0EjhUwmL8ilzZJp1RVobowBKYT595Dn6PP64ku6ir5wwhfVSDEKZragDmpQOGom JJREw1x38Nm0+NkqMZ/bJnaMHrLnx8mG+yjV2Pk1fdQYo5IwwWHiGIpvjpaR/RVbdyZ/cp 4VADYffKt7SnvR5Bv+3lbTVcAxftzmne1pj59dFwjFQok9PSoQphrgi4rX9dukjx8YdDGB yFoB4ImPUnsulSXseL9mOWb4NmHPb45yDhoTCdQAaBiLzv2JY3BjWI0FT8YTfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675083872; a=rsa-sha256; cv=none; b=hg9PFZx44tQbvX2o68l3fPBIP9T8N3Z3GPdzpg9Zir+VQFkxF0IkvFGRMzFCP5ywFNI6+U +BMzt08Y7FchDwrbM9PFOuTEZsLCI58o/ew9/S/WR/EetoD4uZibqXu1wfRn7ioo24OrwN vnkvoyygPcVyytX7NkX1xQozbhQ54el/SFJvnGrNZVyJCKjH/2Fn7eLhWaGlqUSQ36ruhh Y3tUkROktvRbeLcjCHBZ+tRdZtl4xQem0taSHjZ89G0w9zdfk2zL1spJTaSOwnv3Rsj8y4 boUgapfxnf2J8GhCNFE2pCw2G1IWbDnTLtvtVu/Q8BMsKMFAZgT+/Qj/1r09yA== 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 4P57gN3W7vz17gR; Mon, 30 Jan 2023 13:04:32 +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 30UD4W3S050929; Mon, 30 Jan 2023 13:04:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UD4W5U050928; Mon, 30 Jan 2023 13:04:32 GMT (envelope-from git) Date: Mon, 30 Jan 2023 13:04:32 GMT Message-Id: <202301301304.30UD4W5U050928@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: 7203a0163a45 - main - devel/p5-Future-AsyncAwait: Add p5-Future-AsyncAwait 0.62 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 7203a0163a456cdffc0477cc5c4e411c84562be8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7203a0163a456cdffc0477cc5c4e411c84562be8 commit 7203a0163a456cdffc0477cc5c4e411c84562be8 Author: Po-Chuan Hsieh AuthorDate: 2023-01-30 12:20:51 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-01-30 12:58:44 +0000 devel/p5-Future-AsyncAwait: Add p5-Future-AsyncAwait 0.62 Future::AsyncAwait provides syntax for deferring and resuming subroutines while waiting for Futures to complete. This syntax aims to make code that performs asynchronous operations using futures look neater and more expressive than simply using then chaining and other techniques on the futures themselves. It is also a similar syntax used by a number of other languages; notably C# 5, EcmaScript 6, Python 3, Dart, Rust, C++20. This module is still under active development. While it now seems relatively stable enough for most use-cases and has received a lot of "battle-testing" in a wide variety of scenarios, there may still be the occasional case of memory leak left in it, especially if still-pending futures are abandoned. The new syntax takes the form of two new keywords, async and await. --- devel/Makefile | 1 + devel/p5-Future-AsyncAwait/Makefile | 29 +++++++++++++++++++++++++++++ devel/p5-Future-AsyncAwait/distinfo | 3 +++ devel/p5-Future-AsyncAwait/pkg-descr | 13 +++++++++++++ devel/p5-Future-AsyncAwait/pkg-plist | 10 ++++++++++ 5 files changed, 56 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index da059559ad94..8f69bfceba65 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2530,6 +2530,7 @@ SUBDIR += p5-Function-Fallback-CoreOrPP SUBDIR += p5-Function-Parameters SUBDIR += p5-Future + SUBDIR += p5-Future-AsyncAwait SUBDIR += p5-Future-IO SUBDIR += p5-Gearman SUBDIR += p5-Gearman-Client-Async diff --git a/devel/p5-Future-AsyncAwait/Makefile b/devel/p5-Future-AsyncAwait/Makefile new file mode 100644 index 000000000000..f13fafa46764 --- /dev/null +++ b/devel/p5-Future-AsyncAwait/Makefile @@ -0,0 +1,29 @@ +PORTNAME= Future-AsyncAwait +PORTVERSION= 0.62 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:PEVANS +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Deferred subroutine syntax for futures +WWW= https://metacpan.org/dist/Future-AsyncAwait + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Future>=0.48:devel/p5-Future \ + p5-XS-Parse-Keyword>=0.13:devel/p5-XS-Parse-Keyword \ + p5-XS-Parse-Sublike>=0.14:devel/p5-XS-Parse-Sublike +TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal \ + p5-Test-Refcount>=0.09:devel/p5-Test-Refcount + +USES= perl5 +USE_PERL5= modbuild + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Future/AsyncAwait/AsyncAwait.so + +.include diff --git a/devel/p5-Future-AsyncAwait/distinfo b/devel/p5-Future-AsyncAwait/distinfo new file mode 100644 index 000000000000..ca98da0f9fd7 --- /dev/null +++ b/devel/p5-Future-AsyncAwait/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674588038 +SHA256 (Future-AsyncAwait-0.62.tar.gz) = df7044083a561813d8dd0b848ac3ccb24ca57fc3f4c5d1126f929e3b8b1a9385 +SIZE (Future-AsyncAwait-0.62.tar.gz) = 87291 diff --git a/devel/p5-Future-AsyncAwait/pkg-descr b/devel/p5-Future-AsyncAwait/pkg-descr new file mode 100644 index 000000000000..8b3702aec7eb --- /dev/null +++ b/devel/p5-Future-AsyncAwait/pkg-descr @@ -0,0 +1,13 @@ +Future::AsyncAwait provides syntax for deferring and resuming subroutines while +waiting for Futures to complete. This syntax aims to make code that performs +asynchronous operations using futures look neater and more expressive than +simply using then chaining and other techniques on the futures themselves. It is +also a similar syntax used by a number of other languages; notably C# 5, +EcmaScript 6, Python 3, Dart, Rust, C++20. + +This module is still under active development. While it now seems relatively +stable enough for most use-cases and has received a lot of "battle-testing" in a +wide variety of scenarios, there may still be the occasional case of memory leak +left in it, especially if still-pending futures are abandoned. + +The new syntax takes the form of two new keywords, async and await. diff --git a/devel/p5-Future-AsyncAwait/pkg-plist b/devel/p5-Future-AsyncAwait/pkg-plist new file mode 100644 index 000000000000..695d579a5c39 --- /dev/null +++ b/devel/p5-Future-AsyncAwait/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_ARCH%%/Future/AsyncAwait.pm +%%SITE_ARCH%%/Future/AsyncAwait/Awaitable.pm +%%SITE_ARCH%%/Future/AsyncAwait/ExtensionBuilder.pm +%%SITE_ARCH%%/Future/AsyncAwait/ExtensionBuilder_data.pm +%%SITE_ARCH%%/Test/Future/AsyncAwait/Awaitable.pm +%%SITE_ARCH%%/auto/Future/AsyncAwait/AsyncAwait.so +%%PERL5_MAN3%%/Future::AsyncAwait.3.gz +%%PERL5_MAN3%%/Future::AsyncAwait::Awaitable.3.gz +%%PERL5_MAN3%%/Future::AsyncAwait::ExtensionBuilder.3.gz +%%PERL5_MAN3%%/Test::Future::AsyncAwait::Awaitable.3.gz