pkgsrc/devel/p5-MooseX-Params-Validate/Makefile
sno 52d660b82a Updating package for MooseX::Params::Validate from 0.09 to 0.12
Adjusting meta-info according to META.yml (license, dependencies)

Upstream changes:
0.12 Tue. Jul. 7, 2009
    - Using the subroutine name as a cache key for validation specs
      broke in the face of method modifiers, which all appear to have
      the same name. Now we use Devel::Caller to get the CV of the
      caller and use its refaddr as the key, which will be unique in
      all cases. Bug report by Jos Boumans. RT #46730.

0.11 Tue. Jul. 7, 2009
    - The validation functions tried to coerce optional keys which
      weren't present in the incoming parameters, leading to weird
      errors. Based on a patch from Jos Boumans. RT #46344.

    - Allow other callbacks to be specified. Previously these were
      silently thrown out. But we'd recommend just defining types that
      encapsulate everything in the callback instead. Based on a patch
      from Jos Boumans. RT #47647.

0.10 Tue. Jun. 30, 2009
    - Shut up deprecation warnings from the tests. Reported by John
      Goulah.
2009-07-08 08:30:42 +00:00

27 lines
874 B
Makefile

# $NetBSD: Makefile,v 1.2 2009/07/08 08:30:42 sno Exp $
#
DISTNAME= MooseX-Params-Validate-0.12
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MooseX/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/perldoc?MooseX::Params::Validate
COMMENT= Extension of Params::Validate for using Moose's types
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/MooseX/Params/Validate/.packlist
BUILD_DEPENDS+= p5-Test-Exception>=0.21:../../devel/p5-Test-Exception
DEPENDS+= p5-Devel-Caller-[0-9]*:../../devel/p5-Devel-Caller
DEPENDS+= p5-Moose>=0.58:../../devel/p5-Moose
DEPENDS+= p5-Params-Validate>=0.88:../../devel/p5-Params-Validate
DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"