pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Syntax-Keyword-Try
Module Name: pkgsrc
Committed By: schmonz
Date: Sat Feb 3 18:49:53 UTC 2024
Added Files:
pkgsrc/devel/p5-Syntax-Keyword-Try: DESCR Makefile PLIST distinfo
Log Message:
Add p5-Syntax-Keyword-Try: Add try/catch/finally syntax to Perl
This module provides a syntax plugin that implements exception-handling
semantics in a form familiar to users of other languages, being built on
a block labeled with the try keyword, followed by at least one of a
catch or finally block.
Syntax similar to this module has now been added to core perl, starting
at version 5.34.0. If you are writing new code, it is suggested that you
instead use the Feature::Compat::Try module instead, as that will enable
the core feature on those supported perl versions, falling back to
Syntax::Keyword::Try on older perls.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Syntax-Keyword-Try/DESCR \
pkgsrc/devel/p5-Syntax-Keyword-Try/Makefile \
pkgsrc/devel/p5-Syntax-Keyword-Try/PLIST \
pkgsrc/devel/p5-Syntax-Keyword-Try/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-Syntax-Keyword-Try/DESCR
diff -u /dev/null pkgsrc/devel/p5-Syntax-Keyword-Try/DESCR:1.1
--- /dev/null Sat Feb 3 18:49:53 2024
+++ pkgsrc/devel/p5-Syntax-Keyword-Try/DESCR Sat Feb 3 18:49:53 2024
@@ -0,0 +1,10 @@
+This module provides a syntax plugin that implements exception-handling
+semantics in a form familiar to users of other languages, being built on
+a block labeled with the try keyword, followed by at least one of a
+catch or finally block.
+
+Syntax similar to this module has now been added to core perl, starting
+at version 5.34.0. If you are writing new code, it is suggested that you
+instead use the Feature::Compat::Try module instead, as that will enable
+the core feature on those supported perl versions, falling back to
+Syntax::Keyword::Try on older perls.
Index: pkgsrc/devel/p5-Syntax-Keyword-Try/Makefile
diff -u /dev/null pkgsrc/devel/p5-Syntax-Keyword-Try/Makefile:1.1
--- /dev/null Sat Feb 3 18:49:53 2024
+++ pkgsrc/devel/p5-Syntax-Keyword-Try/Makefile Sat Feb 3 18:49:53 2024
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2024/02/03 18:49:53 schmonz Exp $
+
+DISTNAME= Syntax-Keyword-Try-0.29
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/P/PE/PEVANS/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://metacpan.org/pod/Syntax::Keyword::Try
+COMMENT= Add try/catch/finally syntax to Perl
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-XS-Parse-Keyword>=0.06:../../devel/p5-XS-Parse-Keyword
+TEST_DEPENDS+= p5-Test2-Suite-[0-9]*:../../devel/p5-Test2-Suite
+
+PERL5_PACKLIST= auto/Syntax/Keyword/Try/.packlist
+PERL5_MODULE_TYPE= Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Syntax-Keyword-Try/PLIST
diff -u /dev/null pkgsrc/devel/p5-Syntax-Keyword-Try/PLIST:1.1
--- /dev/null Sat Feb 3 18:49:53 2024
+++ pkgsrc/devel/p5-Syntax-Keyword-Try/PLIST Sat Feb 3 18:49:53 2024
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2024/02/03 18:49:53 schmonz Exp $
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/opt/pkg/bin/bmake package"
+@comment TODO: 2. run "/opt/pkg/bin/bmake print-PLIST"
Index: pkgsrc/devel/p5-Syntax-Keyword-Try/distinfo
diff -u /dev/null pkgsrc/devel/p5-Syntax-Keyword-Try/distinfo:1.1
--- /dev/null Sat Feb 3 18:49:53 2024
+++ pkgsrc/devel/p5-Syntax-Keyword-Try/distinfo Sat Feb 3 18:49:53 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/02/03 18:49:53 schmonz Exp $
+
+BLAKE2s (Syntax-Keyword-Try-0.29.tar.gz) = bd400a67730124cfc2547530a7816c2449f993e8ba0b3a30f48543842f504b18
+SHA512 (Syntax-Keyword-Try-0.29.tar.gz) = 269ea66916c39852262bc60b1661e90adf55489f1369a745a3c3ba24dd4335203a46d8bf8ddd39dcdefc4ae3314ce06b1fa7956d0a4bd23bba6fb809adaa1814
+Size (Syntax-Keyword-Try-0.29.tar.gz) = 45060 bytes
Home |
Main Index |
Thread Index |
Old Index