From 721760225604b2b5b483dda064ce38f9c6bc7c57 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 6 May 2009 23:06:21 +0000 Subject: [PATCH] import p5-Scope-Upper This module lets you defer actions that will take place when the control flow returns into an upper scope. Currently, you can hook an upper scope end, or localize variables, array/hash values or deletions of elements in higher contexts. You can also return to an upper level and know which context was in use then. --- devel/p5-Scope-Upper/Makefile | 20 ++++++++++++++++++++ devel/p5-Scope-Upper/distinfo | 5 +++++ devel/p5-Scope-Upper/pkg/DESCR | 5 +++++ devel/p5-Scope-Upper/pkg/PLIST | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 devel/p5-Scope-Upper/Makefile create mode 100644 devel/p5-Scope-Upper/distinfo create mode 100644 devel/p5-Scope-Upper/pkg/DESCR create mode 100644 devel/p5-Scope-Upper/pkg/PLIST diff --git a/devel/p5-Scope-Upper/Makefile b/devel/p5-Scope-Upper/Makefile new file mode 100644 index 00000000000..f45369f1e2b --- /dev/null +++ b/devel/p5-Scope-Upper/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/05/06 23:06:21 simon Exp $ + +SHARED_ONLY = Yes +COMMENT = act on upper scopes + +MODULES = cpan +DISTNAME = Scope-Upper-0.08 +CATEGORIES = devel + +# Perl +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +CPAN_AUTHOR = VPIT + +MAKE_ENV += TEST_POD=1 + +.include diff --git a/devel/p5-Scope-Upper/distinfo b/devel/p5-Scope-Upper/distinfo new file mode 100644 index 00000000000..2f2aa898da0 --- /dev/null +++ b/devel/p5-Scope-Upper/distinfo @@ -0,0 +1,5 @@ +MD5 (Scope-Upper-0.08.tar.gz) = 9VFSebfHztxgVl5QpP/ZkA== +RMD160 (Scope-Upper-0.08.tar.gz) = REZqqB00oUVRSXdL7UGppql3RLI= +SHA1 (Scope-Upper-0.08.tar.gz) = kHH/XydgI3M1aQja2zCVyE9h/vU= +SHA256 (Scope-Upper-0.08.tar.gz) = Q788bObAepeipc0RJZTbB7kyFNIGTIR4zBcjs/rM/hs= +SIZE (Scope-Upper-0.08.tar.gz) = 25896 diff --git a/devel/p5-Scope-Upper/pkg/DESCR b/devel/p5-Scope-Upper/pkg/DESCR new file mode 100644 index 00000000000..8e142ec97be --- /dev/null +++ b/devel/p5-Scope-Upper/pkg/DESCR @@ -0,0 +1,5 @@ +This module lets you defer actions that will take place when the control +flow returns into an upper scope. Currently, you can hook an upper +scope end, or localize variables, array/hash values or deletions of +elements in higher contexts. You can also return to an upper level and +know which context was in use then. diff --git a/devel/p5-Scope-Upper/pkg/PLIST b/devel/p5-Scope-Upper/pkg/PLIST new file mode 100644 index 00000000000..addca39108f --- /dev/null +++ b/devel/p5-Scope-Upper/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/06 23:06:21 simon Exp $ +${P5ARCH}/ +${P5ARCH}/Scope/ +${P5ARCH}/Scope/Upper.pm +${P5ARCH}/auto/ +${P5ARCH}/auto/Scope/ +${P5ARCH}/auto/Scope/Upper/ +${P5ARCH}/auto/Scope/Upper/Upper.bs +${P5ARCH}/auto/Scope/Upper/Upper.so +@man man/man3p/Scope::Upper.3p