Date: Fri, 24 Apr 2020 17:48:19 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r532795 - in head/devel: . p5-Data-Object-Role-Errable Message-ID: <202004241748.03OHmJ0S042099@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Apr 24 17:48:19 2020 New Revision: 532795 URL: https://svnweb.freebsd.org/changeset/ports/532795 Log: Add p5-Data-Object-Role-Errable 0.01 Data::Object::Role::Errable provides a mechanism for handling errors (exceptions). It's a more structured approach to being "throwable". The idea is that any object that consumes this role can set an error which automatically throws an exception which if trapped includes the state (object as thrown) in the exception context. WWW: https://metacpan.org/release/Data-Object-Role-Errable Added: head/devel/p5-Data-Object-Role-Errable/ head/devel/p5-Data-Object-Role-Errable/Makefile (contents, props changed) head/devel/p5-Data-Object-Role-Errable/distinfo (contents, props changed) head/devel/p5-Data-Object-Role-Errable/pkg-descr (contents, props changed) head/devel/p5-Data-Object-Role-Errable/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Apr 24 17:48:12 2020 (r532794) +++ head/devel/Makefile Fri Apr 24 17:48:19 2020 (r532795) @@ -2061,6 +2061,7 @@ SUBDIR += p5-Data-Object-Role-Arguable SUBDIR += p5-Data-Object-Role-Buildable SUBDIR += p5-Data-Object-Role-Dumpable + SUBDIR += p5-Data-Object-Role-Errable SUBDIR += p5-Data-ObjectDriver SUBDIR += p5-Data-OptList SUBDIR += p5-Data-Page-NoTotalEntries Added: head/devel/p5-Data-Object-Role-Errable/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Data-Object-Role-Errable/Makefile Fri Apr 24 17:48:19 2020 (r532795) @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Data-Object-Role-Errable +PORTVERSION= 0.01 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Errable Role for Data::Object + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Data-Object-Exception>=2.02:devel/p5-Data-Object-Exception \ + p5-Data-Object-Role>=2.01:devel/p5-Data-Object-Role \ + p5-Data-Object-Role-Tryable>=2.00:devel/p5-Data-Object-Role-Tryable \ + p5-Data-Object-RoleHas>=2.01:devel/p5-Data-Object-RoleHas \ + p5-Data-Object-Types>=0.04:devel/p5-Data-Object-Types \ + p5-routines>=0:devel/p5-routines +TEST_DEPENDS= p5-Test-Auto>=0.10:devel/p5-Test-Auto + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/p5-Data-Object-Role-Errable/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Data-Object-Role-Errable/distinfo Fri Apr 24 17:48:19 2020 (r532795) @@ -0,0 +1,3 @@ +TIMESTAMP = 1587721841 +SHA256 (Data-Object-Role-Errable-0.01.tar.gz) = 0baa906d1e7edc8959292bc50e078a752028e1ae367570171b415c978a860112 +SIZE (Data-Object-Role-Errable-0.01.tar.gz) = 12122 Added: head/devel/p5-Data-Object-Role-Errable/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Data-Object-Role-Errable/pkg-descr Fri Apr 24 17:48:19 2020 (r532795) @@ -0,0 +1,7 @@ +Data::Object::Role::Errable provides a mechanism for handling errors +(exceptions). It's a more structured approach to being "throwable". The idea is +that any object that consumes this role can set an error which automatically +throws an exception which if trapped includes the state (object as thrown) in +the exception context. + +WWW: https://metacpan.org/release/Data-Object-Role-Errable Added: head/devel/p5-Data-Object-Role-Errable/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Data-Object-Role-Errable/pkg-plist Fri Apr 24 17:48:19 2020 (r532795) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Data/Object/Role/Errable.pm +%%PERL5_MAN3%%/Data::Object::Role::Errable.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004241748.03OHmJ0S042099>