Commit graph

4 commits

Author SHA1 Message Date
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
sno
bd073295ab Updating package for Perl 5 module Method::Signatures in
devel/p5-Method-Signatures from 20111020 to 20120523.

pkgsrc changes:
- adding test dependencies
- reordering runtime dependencies for easier check against module
  meta information

Upstream changes:
20120523	May 23 16:36:04 PDT 2012
    Distribution Fixes
	* Fixed META.json

20120517    Thu May 17 20:14:34 PDT 2012
    Promoted to full release

20120514.0117_001   Mon May 14 01:17:38 PDT 2012
    Distribution Fixes
    * Added version number to Method::Signatures::Modifiers.

20111125    Fri Nov 25 01:15:50 PST 2011
    Optimizations
    * Type checks significantly faster.  40% faster with Mouse.
      20% faster with Moose. [github #42]

    Distribution Fixes
    * Added Test::Exception as a build requirement [github #43]
    * Added Moose as a recommended module (with version number)
2012-07-06 11:01:06 +00:00
sno
e083d0cfba Importing package for CPAN module Method::Signatures 20111020 into
devel/p5-Method-Signatures to let developers use new keywords func and
methods when writing scripts or modules for the Perl programming language.

This package is a dependency of scheduled update of devel/p5-Git-CPAN-Patch
to 0.7.0.

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.
2011-11-15 18:05:20 +00:00