From 3ec89ac8d99c8df69d99340abe295df26df819b4 Mon Sep 17 00:00:00 2001 From: sno Date: Thu, 11 Mar 2010 10:45:11 +0000 Subject: Importing package for perl5 module Throwable as dependency for scheduled update of mail/p5-Email-Sender Throwable is a role for classes that are meant to be thrown as exceptions to standard program flow. It is very simple and does only two things: saves any previous value for $@ and calls die $self. Throwable::Error is a base class for exceptions that will be thrown to signal errors and abort normal program flow. Throwable::Error is an alternative to Exception::Class, the features of which are largely provided by the Moose object system atop which Throwable::Error is built. Throwable::Error performs the Throwable role. --- devel/p5-Throwable/DESCR | 10 ++++++++++ devel/p5-Throwable/Makefile | 23 +++++++++++++++++++++++ devel/p5-Throwable/distinfo | 5 +++++ 3 files changed, 38 insertions(+) create mode 100644 devel/p5-Throwable/DESCR create mode 100644 devel/p5-Throwable/Makefile create mode 100644 devel/p5-Throwable/distinfo (limited to 'devel') diff --git a/devel/p5-Throwable/DESCR b/devel/p5-Throwable/DESCR new file mode 100644 index 00000000000..121e15f89f9 --- /dev/null +++ b/devel/p5-Throwable/DESCR @@ -0,0 +1,10 @@ +Throwable is a role for classes that are meant to be thrown as exceptions +to standard program flow. It is very simple and does only two things: +saves any previous value for $@ and calls die $self. + +Throwable::Error is a base class for exceptions that will be thrown to +signal errors and abort normal program flow. Throwable::Error is an +alternative to Exception::Class, the features of which are largely provided +by the Moose object system atop which Throwable::Error is built. + +Throwable::Error performs the Throwable role. diff --git a/devel/p5-Throwable/Makefile b/devel/p5-Throwable/Makefile new file mode 100644 index 00000000000..16abf024d57 --- /dev/null +++ b/devel/p5-Throwable/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/03/11 10:45:11 sno Exp $ + +DISTNAME= Throwable-0.100090 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5err +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/R/RJ/RJBS/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Throwable/ +COMMENT= Perl 5 role for classes that can be thrown +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Devel-StackTrace>=1.2100:../../devel/p5-Devel-StackTrace +DEPENDS+= p5-Moose>=0.87:../../devel/p5-Moose + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +PERL5_PACKLIST= auto/Throwable/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Throwable/distinfo b/devel/p5-Throwable/distinfo new file mode 100644 index 00000000000..812c5857573 --- /dev/null +++ b/devel/p5-Throwable/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/03/11 10:45:11 sno Exp $ + +SHA1 (Throwable-0.100090.tar.gz) = 26ea04ae48d0ac317c07bcfc0eac98e708f5df4b +RMD160 (Throwable-0.100090.tar.gz) = 7bd9c63042b57217afea050aab2d28202ded3587 +Size (Throwable-0.100090.tar.gz) = 10679 bytes -- cgit v1.2.3