pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Function-Parameters
Module Name: pkgsrc
Committed By: mef
Date: Sat Dec 16 11:40:33 UTC 2023
Modified Files:
pkgsrc/devel/p5-Function-Parameters: Makefile distinfo
Log Message:
(devel/p5-Function-Parameters) Updated 2.001003 to 2.002004
2.002004 2023-07-15
- Remove 'perl -T' from tests. This way we can run on perls compiled
without support for taint mode. The test didn't actually care about
taint anyway.
2.002003 2023-04-19
- Fix line numbers after inlined type checks (gh #42).
Previously, the code for type checks was inlined literally, so if a
particular check took 5 lines of code, all the following line
numbers in the source file would be off by 5 (they would be "pushed
down" by the interpolated code). These bad line numbers would show
up in error messages from Perl (including warn and die) as well as
__LINE__ and caller (and thus stack traces).
2.002002 2023-04-01
- Work around old versions of ExtUtils::MakeMaker not providing
is_make_type(), whose version dependency is undocumented (sigh).
- Restrict GNU syntax for exporting variables to type 'gmake'; should
fix building on BSD, Solaris, etc.
- Declare dependency on ExtUtils::MakeMaker 7+ and remove
compatibility code for older versions.
2.002001 2023-04-01
- Fix (hopefully) Windows builds using nmake.exe.
2.002 2023-04-01
- Provide //= for default arguments that are also used when the
caller passes in undef.
- Provide more type combinators in parameter declarations: In
addition to | (union types), now ~ & / are also supported (for
complement types, intersection types, and alternative types,
respectively).
- Enable type coercions. If a parameter has a declared type and that
type supports coercions ($type->has_coercion returns true), call
its ->coerce($value) method to transform arguments before type
checking.
- Enable inline type checks. If a parameter has a declared type and
that type supports inlining ($type->can_be_inlined returns true),
its inline code (as provided by ->inline_check('$value')) is baked
into the function definition instead of a call to ->check($value).
This may speed up type checks.
- Move a big chunk of tests to xt/ (author testing only).
- Remove xt/ from the distribution.
- Enable parallel testing by default (with -j4).
2.001006 2023-03-27
- Work around perl core issue GH#20950 (use re "eval" doesn't capture
lexical %^H environment like eval() does and stringifies it
instead) by downgrading the previous hard error to a warning (in
the new category 'Function::Parameters') and switching
Function::Parameters off in the affected scope.
2.001005 2023-01-27
- Fix failures with perl 5.37.5 .. 5.37.6 caused by new internal
opcode structure for anonymous subs.
2.001004 2023-01-20
- Drop Dir::Self test dependency (use FindBin instead).
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/p5-Function-Parameters/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/p5-Function-Parameters/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/p5-Function-Parameters/Makefile
diff -u pkgsrc/devel/p5-Function-Parameters/Makefile:1.17 pkgsrc/devel/p5-Function-Parameters/Makefile:1.18
--- pkgsrc/devel/p5-Function-Parameters/Makefile:1.17 Thu Jul 6 09:39:15 2023
+++ pkgsrc/devel/p5-Function-Parameters/Makefile Sat Dec 16 11:40:33 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2023/07/06 09:39:15 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2023/12/16 11:40:33 mef Exp $
-DISTNAME= Function-Parameters-2.001003
+DISTNAME= Function-Parameters-2.002004
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 6
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MA/MAUKE/}
@@ -13,8 +12,8 @@ LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
DEPENDS+= p5-Package-DeprecationManager-[0-9]*:../../devel/p5-Package-DeprecationManager
-# TEST_DEPENDS
-TOOL_DEPENDS+= p5-Dir-Self-[0-9]*:../../devel/p5-Dir-Self
+
+TESTL_DEPENDS+= p5-Dir-Self-[0-9]*:../../devel/p5-Dir-Self
PERL5_PACKLIST= auto/Function/Parameters/.packlist
Index: pkgsrc/devel/p5-Function-Parameters/distinfo
diff -u pkgsrc/devel/p5-Function-Parameters/distinfo:1.7 pkgsrc/devel/p5-Function-Parameters/distinfo:1.8
--- pkgsrc/devel/p5-Function-Parameters/distinfo:1.7 Tue Oct 26 10:16:40 2021
+++ pkgsrc/devel/p5-Function-Parameters/distinfo Sat Dec 16 11:40:33 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:16:40 nia Exp $
+$NetBSD: distinfo,v 1.8 2023/12/16 11:40:33 mef Exp $
-BLAKE2s (Function-Parameters-2.001003.tar.gz) = 927a48df99e6d19ad010101d3a43b9553da3b2f07e007e0b8b1c6353a0ffbaf2
-SHA512 (Function-Parameters-2.001003.tar.gz) = 47fd5e1e4b4d62b4576cc7439ba6f2636cef96f851e668bbd2274f79f2c4ee11fd9aa2e5739bbdfdf3ed0b3c373dc1c8d63920fd390a1d56592fbdc9be90db59
-Size (Function-Parameters-2.001003.tar.gz) = 91273 bytes
+BLAKE2s (Function-Parameters-2.002004.tar.gz) = 33b4aae7fbf58c23c9d935bb99c55445d90cb465a98a7a5162e109247b6cd2f2
+SHA512 (Function-Parameters-2.002004.tar.gz) = 2df10b3e7ad87c26a0bfec88a88602b5960f1c59a494d480eb24cee96be89d1b89036d3ad7f6f2f4bda25531cb5693c139578a3b2efaca1b38b3cea9f050fa9e
+Size (Function-Parameters-2.002004.tar.gz) = 72690 bytes
Home |
Main Index |
Thread Index |
Old Index