pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Class-MOP Update from version 0.64 to version...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a746e4e86aa8
branches:  trunk
changeset: 546896:a746e4e86aa8
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Sep 08 23:13:59 2008 +0000

description:
Update from version 0.64 to version 0.65.

Package changes: add all required Perl modules for test target as
build dependencies.

Changes:
0.65 Mon September 1, 2008
    For those not following the series of dev releases, the changes
    from 0.64 from 0.65 can mostly be summed up as a lot performance
    improvements by nothingmuch, including new optional XS versions of
    some methods. Also, Class::MOP now works _without_ any XS modules,
    for sad systems without a compiler.

    * Class::MOP::Method
      - Added name and package_name XS accessors, and make sure all
        the XS and Perl versions work the same way. (Dave Rolsky)

    * MOP.xs
      - The XS versions of various methods just returned undef when
        called class methods, rather than dying like the pure Perl
        versions. (Dave Rolsky)

0.64_07 Fri August 29, 2008
    * Class::MOP
      - Silenced warnings that managed to break Moose tests when XS
        was loaded. (Dave Rolsky)
      - Some XS versions of methods were ignored because of typos in
        MOP.xs. (Dave Rolsky)

0.64_06 Mon August 25, 2008
    * Class::MOP (MOP.xs)
      - Another MS VC++ fix, cannot declare a variable in the middle
        of a scope (Taro Nishino).

0.64_05 Sun August 24, 2008
    * Class::MOP
      - None of the dev releases actually loaded the XS properly, but
        we silently fell back to the pure Perl version of the
        code. (Dave Rolsky)

    * Class::MOP (MOP.xs)
      - Replaced some code that used functions not available on Visual
        C++ with some Perl XS API bits (Dave Rolsky).

0.64_04 Sat August 23, 2008
    * Class::MOP::Class
      - Workaround a bug in 5.8.1's goto sub (nothingmuch)

    * pod.t and pod_coveraget.t
      - These are no longer shipped with the tarball because of bogus
        failures from CPAN testers. (Dave Rolsky)

0.64_03 Thu August 21, 2008
    * Class::MOP::Package
      - Some (legit) code was misparsed by earlier 5.8.x
        releases. (nothingmuch)

    * Class::MOP
      - Fix a constant in void context warning (nothingmuch)

0.64_02 Thu August 21, 2008
    * Makefile.PL and Class::MOP
      - Explicitly require Perl 5.8.0+ (Dave Rolsky)

    * Makefile.PL
      - Add missing prereqs that got lost in the switch away from
        Module::Install.

    * Class::MOP::Instance
      - New method - get_all_attributes (nothingmuch)

0.64_01 Wed August 20, 2008
    * Makefile.PL
      - We now check to see if you have a compiler. If you don't, the
        module installs without some XS bits, but will work the same
        as with XS. This should make it easier to install on platforms
        without a compiler (like Windows). (Dave Rolsky)

    * many modules
      - Perl 6 style attribute naming replaced with sane style ('methods', not
        '%!methods'). These changes should not impact any existing API uses.
        (nothingmuch).

    * many modules
      - Quite a number of optimizations based on profiling, including
        allowing constructors to take hash references instead of
        hashes, duplicating some frequently used code in XS, and
        making constructors immutable. These changes should not impact
        any existing API uses. (nothingmuch)

    * Many modules
      - Constructors now respect the meta attributes of their subclasses,
        facilitating MOP extensibility. More related changes will happen in the
        next several releases. (nothingmuch)

    * Class::MOP::Class
      - New method - get_all_methods, replaces the deprecated
        compute_all_applicable_methods. get_all_attributes provided for
        consistency (nothingmuch)
      - New method - wrap_method was refactored out of get_method_map
        (nothingmuch)
      - New API for meta instance invalidation - invalidate_meta_instance,
        invalidate_meta_instances, add_dependent_meta_instance,
        remove_dependent_meta_instance, called automatically when attribute
        definitions change and allows notification of dependent subclasses.
        (nothingmuch)

diffstat:

 devel/p5-Class-MOP/Makefile |  11 ++++++-----
 devel/p5-Class-MOP/distinfo |   8 ++++----
 2 files changed, 10 insertions(+), 9 deletions(-)

diffs (45 lines):

diff -r d7daa4b2dc90 -r a746e4e86aa8 devel/p5-Class-MOP/Makefile
--- a/devel/p5-Class-MOP/Makefile       Mon Sep 08 22:36:29 2008 +0000
+++ b/devel/p5-Class-MOP/Makefile       Mon Sep 08 23:13:59 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2008/08/04 15:09:24 seb Exp $
+# $NetBSD: Makefile,v 1.4 2008/09/08 23:13:59 seb Exp $
 #
 
-DISTNAME=      Class-MOP-0.64
+DISTNAME=      Class-MOP-0.65
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Class/}
@@ -10,14 +10,15 @@
 HOMEPAGE=      http://search.cpan.org/dist/Class-MOP/
 COMMENT=       Perl 5 module providing a meta object protocol
 
+DEPENDS+=      p5-Devel-GlobalDestruction-[0-9]*:../../devel/p5-Devel-GlobalDestruction
 DEPENDS+=      p5-Sub-Identify>=0.03:../../devel/p5-Sub-Identify
 DEPENDS+=      p5-Sub-Name>=0.02:../../devel/p5-Sub-Name
 DEPENDS+=      p5-MRO-Compat>=0.05:../../devel/p5-MRO-Compat
 
 # Only for test target
-# Test::More
-#BUILD_DEPENDS+=       p5-Test-Exception>=0.21:../../devel/p5-Test-Exception
-#BUILD_DEPENDS+=       p5-PathTools-[0-9]*:../../devel/p5-PathTools
+BUILD_DEPENDS+=        p5-PathTools-[0-9]*:../../devel/p5-PathTools
+BUILD_DEPENDS+=        p5-SUPER-[0-9]*:../../devel/p5-SUPER
+BUILD_DEPENDS+=        p5-Test-Exception>=0.21:../../devel/p5-Test-Exception
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
diff -r d7daa4b2dc90 -r a746e4e86aa8 devel/p5-Class-MOP/distinfo
--- a/devel/p5-Class-MOP/distinfo       Mon Sep 08 22:36:29 2008 +0000
+++ b/devel/p5-Class-MOP/distinfo       Mon Sep 08 23:13:59 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2008/08/04 15:09:24 seb Exp $
+$NetBSD: distinfo,v 1.3 2008/09/08 23:13:59 seb Exp $
 
-SHA1 (Class-MOP-0.64.tar.gz) = 3182e46c594586be5d72f150360a964b15042e90
-RMD160 (Class-MOP-0.64.tar.gz) = dbf254f17fec770fc17f0f42250ad1597ec1192c
-Size (Class-MOP-0.64.tar.gz) = 138666 bytes
+SHA1 (Class-MOP-0.65.tar.gz) = 0d073685709ebd24b40e6f0010c2aa4a2b90a040
+RMD160 (Class-MOP-0.65.tar.gz) = 5a7f47538b8c2cb3eae8e88f7ee0dabf492ddbc6
+Size (Class-MOP-0.65.tar.gz) = 144391 bytes



Home | Main Index | Thread Index | Old Index