pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Moose Update p5-Moose from version 0.89 to ve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e01626558fa
branches:  trunk
changeset: 565101:6e01626558fa
user:      seb <seb%pkgsrc.org@localhost>
date:      Wed Sep 16 00:10:07 2009 +0000

description:
Update p5-Moose from version 0.89 to version 0.90.

Pkgsrc changes:
- Adjust dependencies

Upstream changes:
0.90 Tue, Sep 15, 2009
    * Moose::Meta::Attribute::Native::Trait::Counter
    * Moose::Meta::Attribute::Native::Trait::String
      - For these two traits, an attribute which did not explicitly provide
        methods to handles magically ended up delegating *all* the helper
        methods. This has been removed. You must be explicit in your handles
        declaration for all Native Traits. (Dave Rolsky)

    * Moose::Object
      - DEMOLISHALL behavior has changed. If any DEMOLISH method dies, we make
        sure to rethrow its error message. However, we also localize $@ before
        this so that if all the DEMOLISH methods success, the value of $@ will
        be preserved. (nothingmuch and Dave Rolsky)
      - We now also localize $? during object destruction. (nothingmuch and
        Dave Rolsky)
      - The handling of DEMOLISH methods was broken for immutablized classes,
        which were not receiving the value of
        Devel::GlobalDestruction::in_global_destruction.
      - These two fixes address some of RT #48271, reported by Zefram.
      - This is all now documented in Moose::Manual::Construction.
      - Calling $object->new() is now deprecated. A warning will be
        issued. (perigrin)

    * Moose::Meta::Role
      - Added more hooks to customize how roles are applied. The role
        summation class, used to create composite roles, can now be changed
        and/or have meta-roles applied to it. (rafl)

    * Moose::Meta::Method::Delegation
      - fixed delegated methods to make sure that any modifiers attached to
        the accessor being delegated on will be called (Stevan)
        - added tests for this (Stevan)

    * Moose::Meta::Class
      - Moose no longer warns when a class that is being made immutable has
        mutable ancestors. While in theory this is a good thing to warn about,
        we found so many exceptions to this that doing this properly became
        quite problematic.

0.89_02 Thu, Sep 10, 2009
    * Moose::Meta::Attribute::Native
      - Fix Hash, which still had 'empty' instead of 'is_empty'. (hdp)

    * Moose::Meta::Attribute::Native::Trait::Array
      - Added a number of functions from List::Util and List::MoreUtils,
        including reduce, shuffle, uniq, and natatime. (doy)

    * Moose::Exporter
      - This module will now generate an init_meta method for your exporting
        class if you pass it options for
        Moose::Util::MetaRole::apply_metaclass_roles or
        apply_base_class_roles. This eliminates a lot of repetitive
        boilerplate for typical MooseX modules. (doy).
      - Documented the with_meta feature, which is a replacement for
        with_caller. This feature was added by josh a while ago.
      - The with_caller feature is now deprecated, but will not issue a
        warning yet. (Dave Rolsky)
      - If you try to wrap/export a subroutine which doesn't actually exist,
        Moose::Exporter will warn you about this. (doy)

    * Moose::Meta::Role::Application::ToRole
      - When a role aliased a method from another role, it was only getting
        the new (aliased) name, not the original name. This differed from what
        happens when a class aliases a role's methods. If you _only_ want the
        aliased name, make sure to also exclue the original name. (Dave
        Rolsky)

0.89_01 Wed Sep 2, 2009
    * Moose::Meta::Attribute
      - Added the currying syntax for delegation from AttributeHelpers to the
        existing delegation API. (hdp)

    * Moose::Meta::Attribute::Native
      - We have merged the functionality of MooseX::AttributeHelpers into the
        Moose core with some API tweaks. You can continue to use
        MooseX::AttributeHelpers, but it will not be maintained except
        (perhaps) for critical bug fixes in the future. See
        Moose::Manual::Delta for details. (hdp, jhannah, rbuels, Sartak,
        perigrin, doy)

    * Moose::Error::Croak
    * Moose::Error::Confess
      - Clarify documentation on how to use different error-throwing
        modules. (Curtis Jewell)

    * Moose
      - Correct POD for builder to point to Recipe8, not 9. (gphat)

    * Moose::Exporter
      - When a nonexistent sub name is passed to as_is, with_caller, or
        with_meta, throw a warning and skip the exporting, rather than
        installing a broken sub. (doy)

    * Moose::Meta::Class
      - Moose now warns if you call C<make_immutable> for a class with mutable
        ancestors. (doy)

diffstat:

 devel/p5-Moose/Makefile |  7 ++++---
 devel/p5-Moose/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (41 lines):

diff -r f2defcbaf8b3 -r 6e01626558fa devel/p5-Moose/Makefile
--- a/devel/p5-Moose/Makefile   Wed Sep 16 00:09:42 2009 +0000
+++ b/devel/p5-Moose/Makefile   Wed Sep 16 00:10:07 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2009/09/12 12:12:48 sno Exp $
+# $NetBSD: Makefile,v 1.30 2009/09/16 00:10:07 seb Exp $
 #
 
-DISTNAME=      Moose-0.89
+DISTNAME=      Moose-0.90
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Test/}
@@ -11,12 +11,13 @@
 COMMENT=       Postmodern object system for Perl 5
 LICENSE=       ${PERL5_LICENSE}
 
-DEPENDS+=      p5-Class-MOP>=0.92:../../devel/p5-Class-MOP
+DEPENDS+=      p5-Class-MOP>=0.93:../../devel/p5-Class-MOP
 DEPENDS+=      p5-Data-OptList-[0-9]*:../../devel/p5-Data-OptList
 DEPENDS+=      p5-List-MoreUtils>=0.12:../../devel/p5-List-MoreUtils
 DEPENDS+=      p5-Sub-Exporter>=0.980:../../devel/p5-Sub-Exporter
 DEPENDS+=      p5-Sub-Name-[0-9]*:../../devel/p5-Sub-Name
 DEPENDS+=      p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
+DEPENDS+=      p5-Try-Tiny>=0.02:../../devel/p5-Try-Tiny
 
 BUILD_DEPENDS+=        p5-DBM-Deep-[0-9]*:../../databases/p5-DBM-Deep
 BUILD_DEPENDS+=        p5-DateTime-Calendar-Mayan-[0-9]*:../../time/p5-DateTime-Calendar-Mayan
diff -r f2defcbaf8b3 -r 6e01626558fa devel/p5-Moose/distinfo
--- a/devel/p5-Moose/distinfo   Wed Sep 16 00:09:42 2009 +0000
+++ b/devel/p5-Moose/distinfo   Wed Sep 16 00:10:07 2009 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2009/08/18 12:13:23 seb Exp $
+$NetBSD: distinfo,v 1.27 2009/09/16 00:10:07 seb Exp $
 
-SHA1 (Moose-0.89.tar.gz) = 7423d0a92979ab093e719d3f72a682c9061778f6
-RMD160 (Moose-0.89.tar.gz) = 4e00fe4e9d5dbb82b8ad813dba587c966c7b86d2
-Size (Moose-0.89.tar.gz) = 336800 bytes
+SHA1 (Moose-0.90.tar.gz) = d8d64def32af00f4168e862223eadc2cc5e521a1
+RMD160 (Moose-0.90.tar.gz) = ad447d8922c7c519dffcd78ffc5ebb9a33888c98
+Size (Moose-0.90.tar.gz) = 361101 bytes



Home | Main Index | Thread Index | Old Index