PaulHowarth/Blog/2010-08-23

Monday 23rd August 2010

Fedora Project

  • Merged existing EL-6 branch of perl-Return-Value (1.666001-1) with Rawhide (no significant changes) and built it for EPEL-6; it's needed as a dependency of perl-Email-Send (Bug #626218)

Local Packages

  • Updated perl-Class-MOP to 1.05:

    • Refactorings and improvements to how defaults are handled
    • Optimizations that should help speed up compilation time
  • I had to patch t/003_methods.t to make the two newly-added subtests at the end into TODO tests as they fail with perl < 5.10.0:

  • --- perl-Class-MOP/trunk/Class-MOP-1.05-broken-test-003.patch (added)
    +++ perl-Class-MOP/trunk/Class-MOP-1.05-broken-test-003.patch Mon Aug 23 15:14:04 2010
    @@ -1,0 +1,41 @@
    Fails like this:
    
    http://www.cpantesters.org/distro/C/Class-MOP.html#Class-MOP-1.05
    
    #   Failed test 'get_method_list handles constants properly'
    #   at t/003_methods.t line 368.
    #     Structures begin differing at:
    #          $got->[0] = 'BAR'
    #     $expected->[0] = 'quux'
    
    #   Failed test '_get_local_methods handles constants properly'
    #   at t/003_methods.t line 375.
    #     Structures begin differing at:
    #          $got->[0] = 'BAR'
    #     $expected->[0] = 'quux'
    # Looks like you failed 2 tests of 71.
    t/003_methods.t ........................... 
    Dubious, test returned 2 (wstat 512, 0x200)
    Failed 2/71 subtests 
    
    --- Class-MOP-1.05/t/003_methods.t.orig 2010-08-22 16:31:55.000000000 +0100
    +++ Class-MOP-1.05/t/003_methods.t      2010-08-23 09:48:40.784337434 +0100
    @@ -352,6 +352,10 @@
         }
     }
     
    +TODO: {
    +
    +local $TODO = "Test fails with perl < 5.10.0";
    +
     {
         package HasConstants;
     
    @@ -377,5 +381,7 @@
         '_get_local_methods handles constants properly'
     );
     
    +};
    +
     
     done_testing;
  • Updated perl-DBM-Deep to 2.0001:

    • Simply reading a hash or array element no longer causes autovivification, though dereferencing it does still; this makes DBM::Deep comply with Perl's behaviour - CPAN RT#60391

  • Updated perl-Email-Address to 1.890:

    • Allow domainless addresses if requested
  • I had to create a branch for the 1.889 version for releases with perl < 5.10.0 as this new version uses the branch reset pattern (?|) in a regex, which is new in perl 5.10.0; upstream plans to fix this in the next release, so the branch should be short-lived

  • Updated perl-IPC-Run3 to 0.044:

    • Ignore user-defined __DIE__ handler in _type

    • Added test for __DIE__ handler behaviour

  • Updated perl-Module-CoreList to 2.37:

    • Updated for 5.13.4
    • Remove 'Filespec' module (never in core, should have been 'VMS::Filespec')

  • Updated perl-Moose to 1.10, bumping the Class::MOP dependency to 1.05:

    • The long-deprecated alias and excludes options for rĂ´le applications now issue a deprecation warning; use -alias and -excludes instead

    • Inlined code no longer stringifies numeric attribute defaults
    • default => undef now works properly

    • enum type constraints now throw errors if their values are nonsensical

    • Optimizations that should help speed up compilation time
  • Updated perl-Software-License to 0.102340:

    • Add PostgreSQL


Recent