./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: 20170211, Package name: p5-Method-Signatures-20170211, 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:
[devel/p5-Mouse] [devel/p5-Sub-Name] [devel/p5-Devel-Declare] [devel/p5-Any-Moose] [devel/p5-Lexical-SealRequireHints] [devel/p5-Const-Fast]

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

Master sites: (Expand)

SHA1: e64c00cc77c570ca63164532979a794b226b6d03
RMD160: 8429ea8fc92f9416ca9506ea7954ae0277d8b281
Filesize: 81.677 KB

Version history: (Expand)


CVS history: (Expand)


   2017-09-27 22:04:09 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Method-Signatures: update to 20170211.

20170211    Feb 11 13:38:39 PST 2017
    Promoted to full release

20160608.0051_002   Wed Jun  8 00:51:42 PDT 2016
    New Features
    * Can now put prototypes in front of signatures
      (provides compatibility with sigs in 5.20)
      [RT/93336, github #99/#127] (thanks brummett)

20160516.2032_001   Mon May 16 20:32:59 PDT 2016
    New Features
    * Can now use bare sigils as placeholders
      (provides compatibility with sigs in 5.20)
      [RT/93334, github #100/#126] (thanks brummett)
   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]