svn commit: r532800 - in head/devel: . p5-Data-Object-Role-Proxyable
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Apr 24 17:59:52 UTC 2020
Author: sunpoet
Date: Fri Apr 24 17:59:48 2020
New Revision: 532800
URL: https://svnweb.freebsd.org/changeset/ports/532800
Log:
Add p5-Data-Object-Role-Proxyable 2.03
Data::Object::Role::Proxyable provides a wrapper around the AUTOLOAD routine
which processes calls to routines which don't exist. Adding a build_proxy method
to the consuming class acts as a hook into routine dispatching, which processes
calls to routines which don't exist. The build_proxy routine is called as a
method and receives $self, $package, $method, and any arguments passed to the
method as a list of arguments, e.g. @args. The build_proxy method must return a
routine (i.e. a callback) or the undefined value which results in a "method
missing" error.
WWW: https://metacpan.org/release/Data-Object-Role-Proxyable
Added:
head/devel/p5-Data-Object-Role-Proxyable/
head/devel/p5-Data-Object-Role-Proxyable/Makefile (contents, props changed)
head/devel/p5-Data-Object-Role-Proxyable/distinfo (contents, props changed)
head/devel/p5-Data-Object-Role-Proxyable/pkg-descr (contents, props changed)
head/devel/p5-Data-Object-Role-Proxyable/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Apr 24 17:59:42 2020 (r532799)
+++ head/devel/Makefile Fri Apr 24 17:59:48 2020 (r532800)
@@ -2065,6 +2065,7 @@
SUBDIR += p5-Data-Object-Role-Formulatable
SUBDIR += p5-Data-Object-Role-Immutable
SUBDIR += p5-Data-Object-Role-Pluggable
+ SUBDIR += p5-Data-Object-Role-Proxyable
SUBDIR += p5-Data-ObjectDriver
SUBDIR += p5-Data-OptList
SUBDIR += p5-Data-Page-NoTotalEntries
Added: head/devel/p5-Data-Object-Role-Proxyable/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Data-Object-Role-Proxyable/Makefile Fri Apr 24 17:59:48 2020 (r532800)
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Data-Object-Role-Proxyable
+PORTVERSION= 2.03
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Proxyable Role for Data::Object
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Moo>=0:devel/p5-Moo \
+ p5-routines>=0:devel/p5-routines
+TEST_DEPENDS= p5-Test-Auto>=0.05:devel/p5-Test-Auto
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/devel/p5-Data-Object-Role-Proxyable/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Data-Object-Role-Proxyable/distinfo Fri Apr 24 17:59:48 2020 (r532800)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587721849
+SHA256 (Data-Object-Role-Proxyable-2.03.tar.gz) = 6fc181667a5f2e7e2bfe1d6394e2d2eb9c0cf71726185cadb8978c1850eecbcf
+SIZE (Data-Object-Role-Proxyable-2.03.tar.gz) = 10919
Added: head/devel/p5-Data-Object-Role-Proxyable/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Data-Object-Role-Proxyable/pkg-descr Fri Apr 24 17:59:48 2020 (r532800)
@@ -0,0 +1,10 @@
+Data::Object::Role::Proxyable provides a wrapper around the AUTOLOAD routine
+which processes calls to routines which don't exist. Adding a build_proxy method
+to the consuming class acts as a hook into routine dispatching, which processes
+calls to routines which don't exist. The build_proxy routine is called as a
+method and receives $self, $package, $method, and any arguments passed to the
+method as a list of arguments, e.g. @args. The build_proxy method must return a
+routine (i.e. a callback) or the undefined value which results in a "method
+missing" error.
+
+WWW: https://metacpan.org/release/Data-Object-Role-Proxyable
Added: head/devel/p5-Data-Object-Role-Proxyable/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Data-Object-Role-Proxyable/pkg-plist Fri Apr 24 17:59:48 2020 (r532800)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Data/Object/Role/Proxyable.pm
+%%PERL5_MAN3%%/Data::Object::Role::Proxyable.3.gz
More information about the svn-ports-head
mailing list