./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: 20160315nb2, Package name: p5-Method-Signatures-20160315nb2, 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
understand.

And it does all this with no source filters.


Required to run:
[lang/perl5] [devel/p5-Data-Alias] [devel/p5-Sub-Name] [devel/p5-Devel-Declare] [devel/p5-Lexical-SealRequireHints] [devel/p5-Devel-BeginLift]

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

Master sites: (Expand)

SHA1: e3b0ac5417707d210267ea28535710836ebec198
RMD160: 9cdc260cee331f47af4aa860dffe1f94de6272d9
Filesize: 78.032 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   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
    Docs
    * 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:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
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
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
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
Update DEPENDS

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]

    Misc
    * 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]

    Docs
    * 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.