From nobody Mon Apr 18 00:00:17 2022 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 ED68611CDC4D; Mon, 18 Apr 2022 00:00:17 +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 4KhRrx2gm8z4YP5; Mon, 18 Apr 2022 00:00:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240017; 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=JhACDAcd4HLLCEFSURkJOdRzukSZT0GgaObif1SXQvg=; b=Z6oPdp7qaRbgQflyfcP44uZWJJOe1XWMxEw0QhaBj7DyWIGgavwqMm8tPcWyMyVioNbfzh uFYpW+5mMMAUjPcjuO4rjnbmvj7OPgW8YgjGKIdp95bo3Mmb2BhjjWeuEPPadANgnIWT3k DR+ooZ0Uu3/zfoPq0U05sWekaWgBUMTd52xsPgZWOm0jxOQ3iwUZ/xjpP9pL6EWPh7MDqr Q4hh1UpYgbD6Kzo2LkSGYDDmgSYqkDs1r4l0NEjQI1XhuNNWwnOd06kwPzOYuzem0wdfoA R3HP6+f/CQ5Uja4x2QAz/pzUvNY7ey4LgicPs4ttA6q92QjwZL7T0oqMO+sMQQ== 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 2726B27B53; Mon, 18 Apr 2022 00:00:17 +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 23I00H3A035284; Mon, 18 Apr 2022 00:00:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23I00Hjm035274; Mon, 18 Apr 2022 00:00:17 GMT (envelope-from git) Date: Mon, 18 Apr 2022 00:00:17 GMT Message-Id: <202204180000.23I00Hjm035274@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: d94a3db61613 - main - devel/p5-Sub-HandlesVia: Add p5-Sub-HandlesVia 0.016 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: d94a3db6161308a6b4f44b0f9380328f40d83266 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240017; 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=JhACDAcd4HLLCEFSURkJOdRzukSZT0GgaObif1SXQvg=; b=klKAfz3tdRzd6a5dFLdoqc8OYSL4Q2cfH5yiZ6MlRX5jfYrtNzgVq32PI7uTWS+uFHM6St 5caQekrYzU9yp3Wl8GOsQCbf5NN2JBEYmBN+7c9zSPOQfpm2p/qgZDJb3D9a3L7Ds/SMtv 6UyKn3ZxtDZSLysjiGYCKMMHD+KwGOUxr0oOxXUFbFlnGBtpEzA3q9BiznygSeR+5MRpWi qR5qkv/es4sWDryrmyrbvnqMXU1Ynsys75nD3GWzBLi5FHme2lB4R7/Klnhx4tGZMzbsNU HvxvCI6nDfXKt+l+xEi7tOQIRR0W4N260Si++o+qsYqV5GQ5Yb7B6qq+FiJJkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650240017; a=rsa-sha256; cv=none; b=gCQ5zyyHwsB/UiYAPxstN6/r1VGgp6JpJeGGy+lKl9BLdCk7mD3ws3S9V+pc2voLeOnUE8 yNCSg2F1sWIIjIBCY2xVGzD9V27qqDUvqqMyl1CrrugoeIvc27t5mqMH3qxfWkv2dLg9PE YgU3nDbTk/vC1H4NT5M0A55ZT32ZDCNUd/+4nonpElI6e1Oni9B7nti3aZSGf/vnk4mMhK UzztVjxbMGopJpeaJ80t9J1oFZ1nKR/d6OGip/nz4rFdNl0tK+IfRuSZYUAuWYRQGVTgV/ IdaswjKlLXLs2jU89JrKSKBvv2CBUqtaYeM0YhtjTn6MkElWdAwxrWVZSu8kTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d94a3db6161308a6b4f44b0f9380328f40d83266 commit d94a3db6161308a6b4f44b0f9380328f40d83266 Author: Po-Chuan Hsieh AuthorDate: 2022-04-17 23:39:06 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-17 23:39:06 +0000 devel/p5-Sub-HandlesVia: Add p5-Sub-HandlesVia 0.016 If you've used Moose's native attribute traits, or MooX::HandlesVia before, you should have a fairly good idea what this does. Why re-invent the wheel? Well, this is an implementation that should work okay with Moo, Moose, Mouse, and any other OO toolkit you throw at it. One ring to rule them all, so to speak. Also, unlike MooX::HandlesVia, it honours type constraints, plus it doesn't have the limitation that it can't mutate non-reference values. WWW: https://metacpan.org/dist/Sub-HandlesVia --- devel/Makefile | 1 + devel/p5-Sub-HandlesVia/Makefile | 30 ++++++++++++++++++++++++++++++ devel/p5-Sub-HandlesVia/distinfo | 3 +++ devel/p5-Sub-HandlesVia/pkg-descr | 11 +++++++++++ devel/p5-Sub-HandlesVia/pkg-plist | 18 ++++++++++++++++++ 5 files changed, 63 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7fd90a3152b0..c09e3acb10c2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3317,6 +3317,7 @@ SUBDIR += p5-Sub-Exporter-GlobExporter SUBDIR += p5-Sub-Exporter-Lexical SUBDIR += p5-Sub-Exporter-Progressive + SUBDIR += p5-Sub-HandlesVia SUBDIR += p5-Sub-Identify SUBDIR += p5-Sub-Infix SUBDIR += p5-Sub-Info diff --git a/devel/p5-Sub-HandlesVia/Makefile b/devel/p5-Sub-HandlesVia/Makefile new file mode 100644 index 000000000000..d5b8633f3177 --- /dev/null +++ b/devel/p5-Sub-HandlesVia/Makefile @@ -0,0 +1,30 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= Sub-HandlesVia +PORTVERSION= 0.016 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Alternative handles_via implementation + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Class-Method-Modifiers>=0:devel/p5-Class-Method-Modifiers \ + p5-Class-Tiny>=0:devel/p5-Class-Tiny \ + p5-Exporter-Tiny>=0:devel/p5-Exporter-Tiny \ + p5-Role-Tiny>=0:devel/p5-Role-Tiny \ + p5-Type-Tiny>=0:devel/p5-Type-Tiny +TEST_DEPENDS= p5-Test-Fatal>=0:devel/p5-Test-Fatal \ + p5-Test-Requires>=0:devel/p5-Test-Requires + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-Sub-HandlesVia/distinfo b/devel/p5-Sub-HandlesVia/distinfo new file mode 100644 index 000000000000..3ef69be51be7 --- /dev/null +++ b/devel/p5-Sub-HandlesVia/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650228648 +SHA256 (Sub-HandlesVia-0.016.tar.gz) = 69ded44ae54724027401667476c8af268a900af4ea6047ff44f283bc5e2cf9d5 +SIZE (Sub-HandlesVia-0.016.tar.gz) = 99771 diff --git a/devel/p5-Sub-HandlesVia/pkg-descr b/devel/p5-Sub-HandlesVia/pkg-descr new file mode 100644 index 000000000000..4a86fedd6a13 --- /dev/null +++ b/devel/p5-Sub-HandlesVia/pkg-descr @@ -0,0 +1,11 @@ +If you've used Moose's native attribute traits, or MooX::HandlesVia before, you +should have a fairly good idea what this does. + +Why re-invent the wheel? Well, this is an implementation that should work okay +with Moo, Moose, Mouse, and any other OO toolkit you throw at it. One ring to +rule them all, so to speak. + +Also, unlike MooX::HandlesVia, it honours type constraints, plus it doesn't have +the limitation that it can't mutate non-reference values. + +WWW: https://metacpan.org/dist/Sub-HandlesVia diff --git a/devel/p5-Sub-HandlesVia/pkg-plist b/devel/p5-Sub-HandlesVia/pkg-plist new file mode 100644 index 000000000000..19ecaa6b7a5d --- /dev/null +++ b/devel/p5-Sub-HandlesVia/pkg-plist @@ -0,0 +1,18 @@ +%%SITE_PERL%%/Sub/HandlesVia.pm +%%SITE_PERL%%/Sub/HandlesVia/Handler.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Array.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Bool.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Code.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Counter.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Hash.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Number.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/Scalar.pm +%%SITE_PERL%%/Sub/HandlesVia/HandlerLibrary/String.pm +%%SITE_PERL%%/Sub/HandlesVia/Toolkit.pm +%%SITE_PERL%%/Sub/HandlesVia/Toolkit/Moo.pm +%%SITE_PERL%%/Sub/HandlesVia/Toolkit/Moose.pm +%%SITE_PERL%%/Sub/HandlesVia/Toolkit/Mouse.pm +%%SITE_PERL%%/Sub/HandlesVia/Toolkit/Plain.pm +%%PERL5_MAN3%%/Sub::HandlesVia.3.gz +%%PERL5_MAN3%%/Sub::HandlesVia::Toolkit.3.gz