pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Long-Jump



Module Name:    pkgsrc
Committed By:   wen
Date:           Sat Aug  9 03:27:23 UTC 2025

Added Files:
        pkgsrc/devel/p5-Long-Jump: DESCR Makefile distinfo

Log Message:
Import Long-Jump-0.000003 as p5-Long-Jump

Long::Jump essentially provides a multi-level return. You can mark a spot with
setjump() and then unwind the stack back to that point from any nested stack
frame by name using longjump(). You can also provide a list of return values.

This is not quite a match for C's long jump, but it is "close enough". It is
safer than C's jump in that it only lets you escape frames by going up the
stack, you cannot jump in other ways.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Long-Jump/DESCR \
    pkgsrc/devel/p5-Long-Jump/Makefile pkgsrc/devel/p5-Long-Jump/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Long-Jump/DESCR
diff -u /dev/null pkgsrc/devel/p5-Long-Jump/DESCR:1.1
--- /dev/null   Sat Aug  9 03:27:23 2025
+++ pkgsrc/devel/p5-Long-Jump/DESCR     Sat Aug  9 03:27:22 2025
@@ -0,0 +1,7 @@
+Long::Jump essentially provides a multi-level return. You can mark a spot with
+setjump() and then unwind the stack back to that point from any nested stack
+frame by name using longjump(). You can also provide a list of return values.
+
+This is not quite a match for C's long jump, but it is "close enough". It is
+safer than C's jump in that it only lets you escape frames by going up the
+stack, you cannot jump in other ways.
Index: pkgsrc/devel/p5-Long-Jump/Makefile
diff -u /dev/null pkgsrc/devel/p5-Long-Jump/Makefile:1.1
--- /dev/null   Sat Aug  9 03:27:23 2025
+++ pkgsrc/devel/p5-Long-Jump/Makefile  Sat Aug  9 03:27:22 2025
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2025/08/09 03:27:22 wen Exp $
+
+DISTNAME=              Long-Jump-0.000003
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=../../authors/id/E/EX/EXODIST/}
+
+MAINTAINER=            wen%NetBSD.org@localhost
+HOMEPAGE=              https://metacpan.org/release/Long-Jump
+COMMENT=               Mechanism for returning to a specific point from a deeply nested stack
+LICENSE=               ${PERL5_LICENSE}
+
+DEPENDS+=              p5-Importer>=0:../../devel/p5-Importer
+
+PERL5_PACKLIST=                auto/Long/Jump/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Long-Jump/distinfo
diff -u /dev/null pkgsrc/devel/p5-Long-Jump/distinfo:1.1
--- /dev/null   Sat Aug  9 03:27:23 2025
+++ pkgsrc/devel/p5-Long-Jump/distinfo  Sat Aug  9 03:27:22 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/08/09 03:27:22 wen Exp $
+
+BLAKE2s (Long-Jump-0.000003.tar.gz) = 750ab925dc8ef6b94b721482a9ea060f9d63c6b8c09ac608294c785d96bc9507
+SHA512 (Long-Jump-0.000003.tar.gz) = 19028137434042193cfb97884ffea7ca8dde833edc564eed245bb28cd6dc53f66826f67b3353164af96974d486da76a226e3d553598e9b2174ee30a7b477fb1c
+Size (Long-Jump-0.000003.tar.gz) = 12570 bytes



Home | Main Index | Thread Index | Old Index