From 31ea0328ef6e0850eb8c3e7088d4ea8192ec575c Mon Sep 17 00:00:00 2001 From: sno Date: Wed, 29 Apr 2009 19:34:24 +0000 Subject: PkgSrc import of perl 5 module Scope::Upper. This module is a required dependency for the update of Catalyst::Runtime (/www/p5-Catalyst-Runtime) to 5.800. This module lets you defer actions at run-time that will take place when the control flow returns into an upper scope. Currently, you can: * hook an upper scope end with "reap" * localize variables, array/hash values or deletions of elements in higher contexts with respectively "localize", "localize_elem" and "localize_delete" * return values immediately to an upper level with "unwind", and know which context was in use then with "want_at" --- devel/p5-Scope-Upper/DESCR | 9 +++++++++ devel/p5-Scope-Upper/Makefile | 18 ++++++++++++++++++ devel/p5-Scope-Upper/distinfo | 5 +++++ 3 files changed, 32 insertions(+) create mode 100644 devel/p5-Scope-Upper/DESCR create mode 100644 devel/p5-Scope-Upper/Makefile create mode 100644 devel/p5-Scope-Upper/distinfo (limited to 'devel/p5-Scope-Upper') diff --git a/devel/p5-Scope-Upper/DESCR b/devel/p5-Scope-Upper/DESCR new file mode 100644 index 00000000000..3d260449f92 --- /dev/null +++ b/devel/p5-Scope-Upper/DESCR @@ -0,0 +1,9 @@ +This module lets you defer actions at run-time that will take place when the +control flow returns into an upper scope. Currently, you can: + + * hook an upper scope end with "reap" + * localize variables, array/hash values or deletions of elements in + higher contexts with respectively "localize", "localize_elem" and + "localize_delete" + * return values immediately to an upper level with "unwind", and know + which context was in use then with "want_at" diff --git a/devel/p5-Scope-Upper/Makefile b/devel/p5-Scope-Upper/Makefile new file mode 100644 index 00000000000..3ad1ab2e93b --- /dev/null +++ b/devel/p5-Scope-Upper/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/04/29 19:34:24 sno Exp $ + +DISTNAME= Scope-Upper-0.08 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Scope/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Scope-Upper/ +COMMENT= Perl5 module to act on upper scopes +LICENSE= gnu-gpl-v2 # OR artistic + +PKG_DESTDIR_SUPPORT= user-destdir + +PERL5_PACKLIST= auto/Scope/Upper/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Scope-Upper/distinfo b/devel/p5-Scope-Upper/distinfo new file mode 100644 index 00000000000..cc4789ec9a8 --- /dev/null +++ b/devel/p5-Scope-Upper/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/04/29 19:34:24 sno Exp $ + +SHA1 (Scope-Upper-0.08.tar.gz) = 9071ff5f27602373356908dadb3095c84f61fef5 +RMD160 (Scope-Upper-0.08.tar.gz) = 44466aa81d34a1455149774bed41a9a6a97744b2 +Size (Scope-Upper-0.08.tar.gz) = 25896 bytes -- cgit v1.2.3