summaryrefslogtreecommitdiff
path: root/devel/p5-Throwable
diff options
context:
space:
mode:
authorsno <sno>2010-03-11 10:45:11 +0000
committersno <sno>2010-03-11 10:45:11 +0000
commit961c4dfff0a73281df5759e814e3b17c9389fbe4 (patch)
tree45bd069b03a321b6b7487b2a8b8e28695f6fd57e /devel/p5-Throwable
parent24faa0ee185ec5ebaf1cda0eb87b31ca40eac564 (diff)
downloadpkgsrc-961c4dfff0a73281df5759e814e3b17c9389fbe4.tar.gz
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.
Diffstat (limited to 'devel/p5-Throwable')
-rw-r--r--devel/p5-Throwable/DESCR10
-rw-r--r--devel/p5-Throwable/Makefile23
-rw-r--r--devel/p5-Throwable/distinfo5
3 files changed, 38 insertions, 0 deletions
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