./devel/p5-Method-Signatures, Method and function declarations with signatures and no source filter

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 20160315nb1, Package name: p5-Method-Signatures-20160315nb1, Maintainer: pkgsrc-users

Method::Signatures provides two new keywords, func and method, so that you
can write subroutines with signatures instead of having to spell out my
$self = shift; my($thing) = @_

* func is like sub but takes a signature where the prototype would normally
go. This takes the place of my($foo, $bar) = @_ and does a whole lot more.

* method is like func but specifically for making methods. It will
automatically provide the invocant as $self. No more my $self = shift.

Also allows signatures, very similar to Perl 6 signatures.

Also does type checking, understanding all the types that Moose (or Mouse) would

And it does all this with no source filters.

Required to run:
[lang/perl5] [devel/p5-PPI] [devel/p5-Data-Alias] [devel/p5-Mouse] [devel/p5-Sub-Name] [devel/p5-Devel-Declare] [devel/p5-Any-Moose] [devel/p5-Lexical-SealRequireHints] [devel/p5-Devel-BeginLift] [devel/p5-Const-Fast]

Required to build:
[devel/p5-Test-Exception] [devel/p5-Module-Build] [devel/p5-Test-Warn]

Master sites: (Expand)

SHA1: e3b0ac5417707d210267ea28535710836ebec198
RMD160: 9cdc260cee331f47af4aa860dffe1f94de6272d9
Filesize: 78.032 KB

Version history: (Expand)

CVS history: (Expand)

   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2016-05-03 07:10:38 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated to devel/p5-Method-Signatures 20160315
20160315    Tue Mar 15 16:21:33 PDT 2016
    Promoted to full release

20160310.2049_001   Thu Mar 10 20:49:00 PST 2016
    * Fix broken link in POD
      [github #120] (thanks Manwar)

    Distribution Fixes
    * Generate README from POD
      [github #122/#123/#124] (thanks jluis)
    * Silence bogus Kwalitee failure
      [github #121] (thanks jluis)

20151120.1519_001   Fri Nov 20 15:19:44 PST 2015
    Bug Fixes
    * Fix missing semi-colon
      [github #118] (thanks joenio)

    Distribution Fixes
    * Bump required version of Lexical::SealRequireHints to fix RT #93759
      [github #119] (thanks chorny)
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-07-12 20:56:37 by Thomas Klausner | Files touched by this commit (405)
Log message:
Comment out dependencies of the style
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.

No effective change for the above reason.

Ok joerg
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2014-12-03 08:33:25 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 20141021

Upstream changes:
20141021    Tue Oct 21 02:11:29 PDT 2014
    Promoted to full release

20140920.1910_001   Sat Sep 20 19:10:06 PDT 2014
    New Features
    * Can now specify an alternate name for invocant (besides `$self`)
      [github #82] (thanks Hercynium)

    Bug Fixes
    * Correct parse error on multi-line default values
      [github #106]
    * Using a required param after an optional one now a compile error
      [github #108]

20140806.0226_001   Wed Aug  6 02:26:36 PDT 2014
    Bug Fixes
    * Correct parse error when invocant is preceded by a space
    * Fix bug where undef which should trigger default fails typecheck
      [github #102]

    Distribution Fixes
    * Remove dependency on experimental (breaks 5.8 compat)
      [github #97]

    * Refactor signature parsing into its own class
      [github #96]

20140224    Mon Feb 24 14:25:43 PST 2014
    Promoted to full release

20140220.0106_001   Thu Feb 20 01:14:54 PST 2014
    Distribution Fixes
    * Remove dependency on Devel::Pragma
      [github #91], and fixes [github #41]

    * Document which features require Data::Alias and Const::Fast
      [github #90]
   2014-05-31 04:22:26 by OBATA Akio | Files touched by this commit (1)
Log message:
perl core contains experimental module now.
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.