pkgsrc/devel/p5-Moo/Makefile

23 lines
823 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2012/10/31 11:18:33 asau Exp $
DISTNAME= Moo-1.000004
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MS/MSTROUT/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Moo/
COMMENT= Minimalist Object Orientation (with Moose compatiblity)
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Class-Method-Modifiers>=1.05:../../devel/p5-Class-Method-Modifiers
DEPENDS+= p5-Devel-GlobalDestruction>=0.09:../../devel/p5-Devel-GlobalDestruction
Updating package for Perl 5 module Moo in devel/p5-Moo from 0.009012 to 0.091014. pkgsrc changes: - add newly introduced dependencies upstream changes: 0.091014 - 2012-07-16 - load overload.pm explicitly for overload::StrVal 0.091013 - 2012-07-15 - useful and detailed errors for coerce in attrib generation 0.091012 - 2012-07-15 - useful and detailed errors for default checker in attrib generation - throw an error when trying to extend a role 0.091011 - 2012-06-27 - re-add #web-simple as development IRC - don't assume Scalar::Util is imported into the current package 0.091010 - 2012-06-26 - isa checks on builders - additional quote_sub docs - remove multi-populate code to fix exists/defined new() bug - document move to #moose and include repository metadata - no Moo and no Moo::Role - squelch used only once warnings for $Moo::HandleMoose::MOUSE - MooClass->meta - subconstructor handling for Moose classes 0.091009 - 2012-06-20 - squelch redefine warnings in the coderef installation code 0.091008 - 2012-06-19 - bump Role::Tiny dependency to get working modifiers under composition - handle "has '+foo'" for attrs from superclass or consumed role - document override -> around translation - use D::GD if installed rather than re-adding it as a requirement 0.091007 - 2012-05-17 - remove stray reference to Devel::GlobalDestruction 0.091006 - 2012-05-16 - drop a couple of dependencies by minor releases we don't strictly need 0.091005 - 2012-05-14 - temporary switch to an inlined in_global_destruction to avoid needing to fatpack Sub::Exporter for features we don't use - re-order is documentation to give readonly styles more prominence - a weakened value should still be returned on set (fixes lazy + weak_ref) - add an explicit return to all exported subs so people don't accidentally rely on the return value 0.091004 - 2012-05-07 - also inhale from Mouse - clarify how isa and coerce interact - support isa and coerce together for Moose - guard _accessor_maker_for calls in Moo::Role in case Moo isn't loaded - reset handlemoose state on mutation in case somebody reified the metaclass too early 0.091003 - 2012-05-06 - improve attribute option documentation - update the incompatibilities section since we're less incompatible now - fix coderef naming to avoid confusing autoclean 0.091002 - 2012-05-05 - exclude union roles and same-role-as-self from metaclass inflation - inhale Moose roles before checking for composition conflicts - enable Moo::sification if only Moo::Role is loaded and not Moo - preserve attribute ordering - factor out accessor generation code a bit more to enable extension 0.091001 - 2012-05-02 - bump Role::Tiny dependency to require de-strictures-ed version - fix test failure where Class::XSAccessor is not available 0.091000 - 2012-04-27 - document MX::AttributeShortcuts 009+ support - documentation for the metaclass inflation code - better error message for broken BUILDARGS - provide 'no Moo::sification' to forcibly disable metaclass inflation - switch to Devel::GlobalDestruction to correctly disarm the Moo::sification trigger under threads - make extends after has work - name subs if Sub::Name is available for better stracktraces - undefer all subs before creating a concrete Moose metaclass - fix bug in _load_module where global vars could cause mis-detection of the module already being loaded 0.009_017 - 2012-04-16 - mangle constructor meta-method on inflation so make_immutable works - fix possible infinite loop caused by subconstructor code 0.009_016 - 2012-04-12 - don't accidentally load Moo::HandleMoose during global destruction - better docs for trigger (and initializer's absence) 0.009_015 - 2012-04-11 - Complete support for MooseX::AttributeShortcuts 0.009 - Allow Moo classes to compose Moose roles - Introduce Moo::HandleMoose, which should allow Moo classes and roles to be treated as Moose classes/roles. Supported so far: - Some level of attributes and methods for both classes and roles - Required methods in roles - Method modifiers in roles (they're already applied in classes) - Type constraints
2012-07-18 10:04:49 +02:00
DEPENDS+= p5-Module-Runtime>=0.012:../../devel/p5-Module-Runtime
DEPENDS+= p5-Role-Tiny>=1.001003:../../devel/p5-Role-Tiny
DEPENDS+= p5-strictures>=1.001001:../../devel/p5-strictures
PERL5_PACKLIST= auto/Moo/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"