Path to this page:
./
devel/p5-Function-Parameters,
Perl5 subroutine definitions with parameter lists
Branch: CURRENT,
Version: 2.002004nb1,
Package name: p5-Function-Parameters-2.002004nb1,
Maintainer: pkgsrc-usersThis module extends Perl with keywords that let you define functions with
parameter lists. It uses Perl's perlapi/PL_keyword_plugin API, so it works
reliably and doesn't require a source filter.
Required to run:[
lang/perl5] [
devel/p5-Moose] [
devel/p5-Package-DeprecationManager]
Required to build:[
devel/p5-Dir-Self] [
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 70.986 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-Function-Parameters-2.002004nb1
- (2023-12-16) Updated to version: p5-Function-Parameters-2.002004
- (2023-07-06) Updated to version: p5-Function-Parameters-2.001003nb6
- (2022-06-28) Updated to version: p5-Function-Parameters-2.001003nb5
- (2021-05-25) Updated to version: p5-Function-Parameters-2.001003nb4
- (2020-09-01) Updated to version: p5-Function-Parameters-2.001003nb3
CVS history: (Expand)
2023-12-16 12:40:33 by Makoto Fujiwara | Files touched by this commit (2) |
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).
|
2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483) |
Log message:
*: recursive bump for perl 5.38
|
2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319) |
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.
Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).
No change to BUILD_DEPENDS as used correctly inside buildlink3.
As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
|
2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952) |
Log message:
*: recursive bump for perl 5.36
|
2022-01-26 22:19:09 by Thomas Klausner | Files touched by this commit (1) |
Log message:
p5-Function-Parameters: revert previous, this has been fixed elsewhere
|
2022-01-26 22:15:35 by Makoto Fujiwara | Files touched by this commit (1) |
Log message:
(devel/p5-Function-Parameters) +DEPENDS+= p5-Sub-Name to fix build
I hope this is correct, as not BUILD_DEPENDS, but not tested though, sorry
|
2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016) |
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017) |
Log message:
devel: Remove SHA1 hashes for distfiles
|