devel/p5-Feature-Compat-Try: import p5-Feature-Compat-Try-0.05
his module makes syntax support for try/catch control flow easily available. Perl added such syntax at version 5.34.0, and extended it to support optional finally blocks at 5.35.9, which is enabled by use feature 'try'; On that version of perl or later, this module simply enables the core feature equivalent to using it directly. On such perls, this module will install with no non-core dependencies, and requires no C compiler.
This commit is contained in:
parent
0f58e73814
commit
067dc713e4
3 changed files with 34 additions and 0 deletions
12
devel/p5-Feature-Compat-Try/DESCR
Normal file
12
devel/p5-Feature-Compat-Try/DESCR
Normal file
|
@ -0,0 +1,12 @@
|
|||
his module makes syntax support for try/catch control flow easily
|
||||
available.
|
||||
|
||||
Perl added such syntax at version 5.34.0, and extended it to support
|
||||
optional finally blocks at 5.35.9, which is enabled by
|
||||
|
||||
use feature 'try';
|
||||
|
||||
On that version of perl or later, this module simply enables the
|
||||
core feature equivalent to using it directly. On such perls, this
|
||||
module will install with no non-core dependencies, and requires no
|
||||
C compiler.
|
17
devel/p5-Feature-Compat-Try/Makefile
Normal file
17
devel/p5-Feature-Compat-Try/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
# $NetBSD: Makefile,v 1.1 2023/03/30 17:59:21 wiz Exp $
|
||||
|
||||
DISTNAME= Feature-Compat-Try-0.05
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/P/PE/PEVANS/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://metacpan.org/pod/Feature::Compat::Try
|
||||
COMMENT= Perl module to make try/catch syntax available
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
PERL5_PACKLIST= auto/Feature/Compat/Try/.packlist
|
||||
PERL5_MODULE_TYPE= Module::Build
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
5
devel/p5-Feature-Compat-Try/distinfo
Normal file
5
devel/p5-Feature-Compat-Try/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2023/03/30 17:59:21 wiz Exp $
|
||||
|
||||
BLAKE2s (Feature-Compat-Try-0.05.tar.gz) = 89966420a8d5b2447afa057fa3cbd093c72dc513cb0305a20903f9e272072ff4
|
||||
SHA512 (Feature-Compat-Try-0.05.tar.gz) = bf2c87bc29509e902ea4e27a22162efc58e93452a06483a19e17b70ee6db3e2407494209708dc84f2ef9080a91c374870de100cc42038683a4ae7891b07ab683
|
||||
Size (Feature-Compat-Try-0.05.tar.gz) = 17364 bytes
|
Loading…
Reference in a new issue