pkgsrc/devel/p5-Method-Signatures/Makefile
schmonz b3fff8d3f6 Update to 20131010. From the changelog:
Incompatible Changes:
* can no longer use both `\' and `:' (didn't work anyway)

New Features:
* Handling of run-time errors (default: die) is now overridable by
  subclasses via signature_error_handler(). [github #54]
* Can now have aliased named parameters. [github #57]
* remove dependency on Devel::BeginLift [github #39]
* can now use `when' to specify default conditions [github #48]
* can use `//=' as a shortcut for `when undef' [github #45]
* can now provide `where' constraints in addition to (or instead
  of) a type [github #7]
* can now use `...' to disable further argument checking [github #49]
* can now specify more than one alternative in type unions [github #55]
* can now nest parameterized types

Bug Fixes:
* Removed experimental smartmatch warnings
* Don't require Data::Alias for named params unless you have to [github #71]
* Fixed obscure bug where an eval in Method::Signatures wouldn't
  be skipped when carp'ing (i.e. in carp_location_for()) [github #72]
* Data::Alias is only loaded when needed avoiding a threads + eval
  bug in most cases and improving compile time performance.
  [rt.cpan.org 82922, github #62]
* Compile-time errors now reporting proper line numbers. [github #61]
* Trailing commas on parameter lists are now ok. [rt.cpan.org 81364]
* Default condition of `when {}' now interpreted as `when { $_ ~~
  {} }' (avoids parse error). [github #60]

Optimizations:
* better signature parsing using PPI [github #11]

Distribution Fixes:
* Fixed failing test in 5.10.0 (uncovered by CPAN Testers)
* Fixed repo link in metadata (thanks dsteinbrunner) [github #87]
* Add M::S::Parameter to MANIFEST [github #76]
* Change representation of Infinity to work on Win32 [github #75]
* Fixed stray detritus in MANIFEST.
* Somehow my last-minute fix to the new error handler test didn't
  make it in; this will fix "Can't locate Moose.pm" errors.
* Fixed test failing on 5.10.0 as per github #59.
* Fixed subtests failing on Test::More's prior to 0.96.

Docs:
* Updated close parend problem to include quotes and a workaround
  [rt.cpan.org 85925]
* Fixed some typos (thanks dsteinbrunner) [github #88]
* Found and fixed missing parend
* Minor clarifications here and there.
* Clarified what doesn't work in Perl 5.8.
* Added Function::Parameters to See Also section.
* Updated copyright.
* documented all new features
* new ASCI-art breakdown of signature syntax
* minor tweaks and corrections

Misc:
* Rearranged so signature is now an object [github #30]
* Add hook for Travis CI [github #78]
* Failure to parse parameters will now produce a more useful error.
2014-01-02 16:27:12 +00:00

34 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2014/01/02 16:27:12 schmonz Exp $
DISTNAME= Method-Signatures-20131010
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/B/BA/BAREFOOT/}
#MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Method/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Method-Signatures/
COMMENT= Method and function declarations with signatures and no source filter
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Any-Moose>=0.11:../../devel/p5-Any-Moose
DEPENDS+= p5-Const-Fast>=0.006:../../devel/p5-Const-Fast
DEPENDS+= p5-Data-Alias>=1.08:../../devel/p5-Data-Alias
DEPENDS+= p5-Devel-BeginLift>=0.001001:../../devel/p5-Devel-BeginLift
DEPENDS+= p5-Devel-Declare>=0.006002:../../devel/p5-Devel-Declare
DEPENDS+= p5-Devel-Pragma>=0.40:../../devel/p5-Devel-Pragma
DEPENDS+= p5-experimental>=0.005:../../devel/p5-experimental
DEPENDS+= p5-PPI>=1.203:../../devel/p5-PPI
DEPENDS+= p5-Mouse>=0.64:../../devel/p5-Mouse
DEPENDS+= p5-Sub-Name>=0.03:../../devel/p5-Sub-Name
BUILD_DEPENDS+= p5-Test-Exception>=0.29:../../devel/p5-Test-Exception
BUILD_DEPENDS+= p5-Test-Warn>=0.10:../../devel/p5-Test-Warn
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Method/Signatures/.packlist
PERL5_MODULE_TYPE= Module::Build
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"