diff options
author | wiz <wiz@pkgsrc.org> | 2016-03-03 12:51:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-03-03 12:51:34 +0000 |
commit | 7baa3c50920020c9d8aca9976e48f75c05ac812b (patch) | |
tree | 49bef77d29983d06296f47c0adad209a3e88fea5 | |
parent | 2a110be530f20839e09ba8d889d27ac4cb730ea5 (diff) | |
download | pkgsrc-7baa3c50920020c9d8aca9976e48f75c05ac812b.tar.gz |
Update p5-Moo to 2.001000.
2.001000 - 2016-02-29
* Documentation
- Added documentation for has's ability to accept an arrayref of attribute
names to create with the same options.
- Removed mention that we may not call BUILDARGS, since that behavior was
removed in 2.000002.
- Reorganized documentation of class methods to separate those provided as a
public API (new/does/meta) from those used by Moo in the object lifecycle
(BUILDARGS/FOREIGNBUILDARGS/BUILD/DEMOLISH).
- Updated documentation of most class methods for clarity.
- Updated BUILDARGS documentation to show an around rather than just
overriding.
- Added examples to FOREIGNBUILDARGS and BUILD.
- Added explicit documentation for DOES and meta methods.
* Fixes
- Fixed grammar in error message when @ISA is changed unexpectedly before
a constructor is fully generated.
- Fixed Moo classes and Sub::Quote subs in packages that are nearly 252
characters long.
- Fixed Sub::Defer::undefer_package emitting warnings.
- Fixed detection of constructors that have already been inlined.
* Performance
- The generated code in constructors and setters has had a number of
microoptimizations applied.
- Deferred subs (and quoted subs like some accessors) in roles will be
undefered before copying them to classes. This prevents the need for a
goto on every call that would slow down the subs.
- Fixed Moose inflation code resulting in constructors with deferred
wrappers.
* Other
- Recommend Sub::Name 0.08, which fixes a memory leak.
- The values given to BUILD subs will be the original values passed to new,
rather than after coercions have been applied. This brings the behavior
in line with Moose.
-rw-r--r-- | devel/p5-Moo/Makefile | 4 | ||||
-rw-r--r-- | devel/p5-Moo/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/p5-Moo/Makefile b/devel/p5-Moo/Makefile index e91188d7ad7..c20e3ac4c84 100644 --- a/devel/p5-Moo/Makefile +++ b/devel/p5-Moo/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.25 2015/07/26 19:09:11 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2016/03/03 12:51:34 wiz Exp $ -DISTNAME= Moo-2.000002 +DISTNAME= Moo-2.001000 PKGNAME= p5-${DISTNAME} CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/H/HA/HAARG/} diff --git a/devel/p5-Moo/distinfo b/devel/p5-Moo/distinfo index e6ae83a60c0..bb98c29a802 100644 --- a/devel/p5-Moo/distinfo +++ b/devel/p5-Moo/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.21 2015/11/03 03:28:30 agc Exp $ +$NetBSD: distinfo,v 1.22 2016/03/03 12:51:34 wiz Exp $ -SHA1 (Moo-2.000002.tar.gz) = 6b75832dc0e38dbce34dd4366ad8d7c4c25a2554 -RMD160 (Moo-2.000002.tar.gz) = 5eba38af1ea49d114fe6336283a2e135e9b12569 -SHA512 (Moo-2.000002.tar.gz) = dbafbe0fe976492bc98610591c80d6f5c19c33b61a4d1cf4752ee03b7ceedf5ff5a5ef789436adf49a697508dde7db8a58dafbcec9ac88780b75896cb0dc072c -Size (Moo-2.000002.tar.gz) = 94253 bytes +SHA1 (Moo-2.001000.tar.gz) = 48647f1e010e5042189d1d1a946134d5ed5221dd +RMD160 (Moo-2.001000.tar.gz) = 3985b11c90767b0b4d431dd385b6e77ca69e15c4 +SHA512 (Moo-2.001000.tar.gz) = a727dd79fc79ac0dcc609cf1404c253ce0872559f7dc8cc200a4a4227a4d8f2bfe02216f05849d11bcae43c8c520853ad0d3e63c86d881367679d8bb7c8a2e93 +Size (Moo-2.001000.tar.gz) = 97777 bytes |