pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Scope-Upper PkgSrc import of perl 5 module Sc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d13ea7255aab
branches:  trunk
changeset: 392287:d13ea7255aab
user:      sno <sno%pkgsrc.org@localhost>
date:      Wed Apr 29 19:34:24 2009 +0000

description:
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"

diffstat:

 devel/p5-Scope-Upper/DESCR    |   9 +++++++++
 devel/p5-Scope-Upper/Makefile |  18 ++++++++++++++++++
 devel/p5-Scope-Upper/distinfo |   5 +++++
 3 files changed, 32 insertions(+), 0 deletions(-)

diffs (44 lines):

diff -r e96b201a8101 -r d13ea7255aab devel/p5-Scope-Upper/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Scope-Upper/DESCR        Wed Apr 29 19:34:24 2009 +0000
@@ -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 -r e96b201a8101 -r d13ea7255aab devel/p5-Scope-Upper/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Scope-Upper/Makefile     Wed Apr 29 19:34:24 2009 +0000
@@ -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@localhost
+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 -r e96b201a8101 -r d13ea7255aab devel/p5-Scope-Upper/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Scope-Upper/distinfo     Wed Apr 29 19:34:24 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index