Hello community,

here is the log from the commit of package perl-Class-C3 for openSUSE:Factory 
checked in at 2015-04-15 16:22:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Class-C3 (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Class-C3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Class-C3"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Class-C3/perl-Class-C3.changes      
2014-03-09 18:34:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Class-C3.new/perl-Class-C3.changes 
2015-04-15 16:22:22.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 13 18:10:14 UTC 2015 - [email protected]
+
+- updated to 0.27
+   see /usr/share/doc/packages/perl-Class-C3/Changes
+
+-------------------------------------------------------------------

Old:
----
  Class-C3-0.26.tar.gz

New:
----
  Class-C3-0.27.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Class-C3.spec ++++++
--- /var/tmp/diff_new_pack.7CkEyX/_old  2015-04-15 16:22:22.000000000 +0200
+++ /var/tmp/diff_new_pack.7CkEyX/_new  2015-04-15 16:22:22.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Class-C3
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Class-C3
-Version:        0.26
+Version:        0.27
 Release:        0
 %define cpan_name Class-C3
 Summary:        A pragma to use the C3 method resolution order algorithm
@@ -61,6 +61,6 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc ChangeLog README util
+%doc Changes README
 
 %changelog

++++++ Class-C3-0.26.tar.gz -> Class-C3-0.27.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/ChangeLog new/Class-C3-0.27/ChangeLog
--- old/Class-C3-0.26/ChangeLog 2014-03-05 00:44:03.000000000 +0100
+++ new/Class-C3-0.27/ChangeLog 1970-01-01 01:00:00.000000000 +0100
@@ -1,147 +0,0 @@
-Revision history for Perl extension Class::C3.
-
-0.26 Tue, Mar 4, 2104
-    - Fix bug in Makefile.PL when ExtUtils::CBuilder not available
-
-0.25 Thu, July 4, 2013
-    - Drop compatibility from 5.6.2 to 5.6.0
-    - Pod typo fixes (RT#77453, RT#85357)
-    - Only ask for Devel::Hide on perls where it will be actually used
-      (RT#81106)
-    - Fix SYNOPSIS to actually be executable (RT#78327)
-
-0.24 Sat, May 12, 2012
-    - Require Class::C3::XS on 5.8 perls if a working compiler is found
-
-0.23 Sat, Jun 19, 2010
-    - Fix various documentation problems (Martin Becker).
-
-0.22 Fri, Jan 29, 2010
-    - Add note that people should be using MRO::Compat rather than
-      Class::C3 directly.
-
-0.21 Wed, Mar 25, 2009
-    - Remove fake Build.PL. Module::Install doesn't support that anymore.
-      (Florian Ragwitz)
-    - Stop using auto_instal in Makefile.PL. Its use is strongly discouraged.
-      (Closes RT#38051, RT#44541) (Simon Bertrang)
-
-0.20 Mon, Dec 8, 2008
-    - Prevent redefined warnings when Class::C3 is loaded explicitly after
-      MRO::Compat has been loaded. Also add tests for this.
-
-0.19 Mon, Jun 4, 2007
-    - Added new goto tests, bumped XS version req
-
-0.18 Sat, May 12, 2007
-    - Just bumped XS version requirement
-
-0.17 Tues, May 8, 2007
-    - Remove Build.PL from the distribution
-
-0.16 Thurs, May 3, 2007
-    - Converted to Module::Install
-    - Supports optional Class::C3::XS
-    - Supports optional perl 5.9.5+ mro code
-    - Fixed overload fallback edge cases.
-    - Fix for overloading to method name string,
-       from Ittetsu Miyazaki.
-
-0.14 Tues, Sep 19, 2006
-    - Fix for rt.cpan.org #21558
-    - converted to Module::Build
-
-0.13 Fri, Aug 25, 2006
-    - Make use of Algorithm::C3 0.05's merge caching
-
-0.12 Tues, July 18, 2006
-    - clarifying docs for &initialize (thanks jcs)
-    - applying patch from Robert Norris to add
-      next::can() and maybe::next::method()
-      functionality which allows safe probing of
-      the presence of the next method
-
-0.11 Thurs, Feb 23, 2006
-    - added some more tests for edge cases
-    - removed INIT, you must explicitly call &initialize now
-        - added docs explaining this
-        - altered tests as needed
-    - moved the C3 algorithm to Algorithm::C3 and added
-      that as a dependency to this module
-    - added docs to explain the "next::method in anon-sub" issue
-        - suggestions/solutions/patches welcome :)
-    - bumped the Scalar::Util version requirement back down
-      to 1.10, apparently the newer version has some issues
-
-0.10 - Wed, Feb 8, 2006
-    - removed the Sub::Name and NEXT dependencies and
-      made the test just skip if they are not present
-    - bumped the Scalar::Util version requirement up
-      (the newest version tends to work the best across
-      different platforms)
-
-0.09 - Fri, Dec 30, 2005
-    - this is actually the proper version of 0.08, I forgot
-      to check in some modifications, and so they didn't get
-      included in my upload.
-
-0.08 - Wed, Dec 28, 2005
-    - adjusted &_remove_method_dispatch_table to be more
-      discriminating about what it deletes. Thanks to
-      Matt S. Trout for this fix.
-    - tweaked &_merge to avoid un-needed looping. Thanks to
-      Audrey Tang for this fix.
-    - added better support for calling next::method within
-      an eval BLOCKs and anon-subroutines. Thanks to Justin
-      Guenther for this patch and test.
-
-0.07 - Wed, Nov 23, 2005
-    * all bugs found by, and fixes provided by Matt S. Trout *
-    - fixed issue caused when module is imported more than once
-    - fixed subtle bug in how next::method is calculated
-        - added test for this
-
-    - added util/visualize_c3.pl tool, which visualizes C3
-      dispatch order using GraphViz
-
-0.06 - Tues, Nov 15, 2005
-    - added Sub::Name to dependencies (even though it is
-      just for the tests)
-    - removed OS X resource fork which slipped into the tar.gz
-    - improved error reporting for Inconsistent Hierarchies
-    - added feature to insure that Overload "fallback" setting
-      is properly inherited
-        - added test for this
-
-0.05 - Mon, Nov 14, 2005
-    - added caching to next::method, courtesy of quicksilver
-      and mst over at #dbi-class
-        - added next::method edge case test
-        - added next::method & NEXT test
-
-0.04 - Thurs, Sept 29, 2004
-    - changed NEXT::METHOD::foo to next::method
-        - added more tests as well
-
-0.03 - Wed, Sept 28, 2005
-    - added the NEXT::METHOD psuedo package for method
-      redispatching along the C3 linearization
-        - added test for this
-
-0.02 - Mon, Aug 8, 2005
-    - code refactoring
-        - many comments added
-    - added many more tests
-        - most of the tests from Perl6::MetaModel moved over
-        - tested loading modules with `use` as well as the
-          inline package definition
-    - added optional 'c3' pragma
-        - this is not installed and can be found in opt/
-    - added `uninitialize` function to remove C3 dispatch ordering
-        - added tests for this
-    - added `reinitialize` function to reload C3 dispatch ordering
-        - added tests for this
-
-0.01 - Sun, Aug 7, 2005
-    - initial release of module
-    - some code and tests based on previous Perl6::MetaModel work
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/Changes new/Class-C3-0.27/Changes
--- old/Class-C3-0.26/Changes   1970-01-01 01:00:00.000000000 +0100
+++ new/Class-C3-0.27/Changes   2014-08-16 02:31:05.000000000 +0200
@@ -0,0 +1,150 @@
+Revision history for Perl extension Class::C3.
+
+0.27 - 2014-08-16
+    - declare minimum perl version of 5.6 in metadata
+
+0.26 Tue, Mar 4, 2104
+    - Fix bug in Makefile.PL when ExtUtils::CBuilder not available
+
+0.25 Thu, July 4, 2013
+    - Drop compatibility from 5.6.2 to 5.6.0
+    - Pod typo fixes (RT#77453, RT#85357)
+    - Only ask for Devel::Hide on perls where it will be actually used
+      (RT#81106)
+    - Fix SYNOPSIS to actually be executable (RT#78327)
+
+0.24 Sat, May 12, 2012
+    - Require Class::C3::XS on 5.8 perls if a working compiler is found
+
+0.23 Sat, Jun 19, 2010
+    - Fix various documentation problems (Martin Becker).
+
+0.22 Fri, Jan 29, 2010
+    - Add note that people should be using MRO::Compat rather than
+      Class::C3 directly.
+
+0.21 Wed, Mar 25, 2009
+    - Remove fake Build.PL. Module::Install doesn't support that anymore.
+      (Florian Ragwitz)
+    - Stop using auto_instal in Makefile.PL. Its use is strongly discouraged.
+      (Closes RT#38051, RT#44541) (Simon Bertrang)
+
+0.20 Mon, Dec 8, 2008
+    - Prevent redefined warnings when Class::C3 is loaded explicitly after
+      MRO::Compat has been loaded. Also add tests for this.
+
+0.19 Mon, Jun 4, 2007
+    - Added new goto tests, bumped XS version req
+
+0.18 Sat, May 12, 2007
+    - Just bumped XS version requirement
+
+0.17 Tues, May 8, 2007
+    - Remove Build.PL from the distribution
+
+0.16 Thurs, May 3, 2007
+    - Converted to Module::Install
+    - Supports optional Class::C3::XS
+    - Supports optional perl 5.9.5+ mro code
+    - Fixed overload fallback edge cases.
+    - Fix for overloading to method name string,
+       from Ittetsu Miyazaki.
+
+0.14 Tues, Sep 19, 2006
+    - Fix for rt.cpan.org #21558
+    - converted to Module::Build
+
+0.13 Fri, Aug 25, 2006
+    - Make use of Algorithm::C3 0.05's merge caching
+
+0.12 Tues, July 18, 2006
+    - clarifying docs for &initialize (thanks jcs)
+    - applying patch from Robert Norris to add
+      next::can() and maybe::next::method()
+      functionality which allows safe probing of
+      the presence of the next method
+
+0.11 Thurs, Feb 23, 2006
+    - added some more tests for edge cases
+    - removed INIT, you must explicitly call &initialize now
+        - added docs explaining this
+        - altered tests as needed
+    - moved the C3 algorithm to Algorithm::C3 and added
+      that as a dependency to this module
+    - added docs to explain the "next::method in anon-sub" issue
+        - suggestions/solutions/patches welcome :)
+    - bumped the Scalar::Util version requirement back down
+      to 1.10, apparently the newer version has some issues
+
+0.10 - Wed, Feb 8, 2006
+    - removed the Sub::Name and NEXT dependencies and
+      made the test just skip if they are not present
+    - bumped the Scalar::Util version requirement up
+      (the newest version tends to work the best across
+      different platforms)
+
+0.09 - Fri, Dec 30, 2005
+    - this is actually the proper version of 0.08, I forgot
+      to check in some modifications, and so they didn't get
+      included in my upload.
+
+0.08 - Wed, Dec 28, 2005
+    - adjusted &_remove_method_dispatch_table to be more
+      discriminating about what it deletes. Thanks to
+      Matt S. Trout for this fix.
+    - tweaked &_merge to avoid un-needed looping. Thanks to
+      Audrey Tang for this fix.
+    - added better support for calling next::method within
+      an eval BLOCKs and anon-subroutines. Thanks to Justin
+      Guenther for this patch and test.
+
+0.07 - Wed, Nov 23, 2005
+    * all bugs found by, and fixes provided by Matt S. Trout *
+    - fixed issue caused when module is imported more than once
+    - fixed subtle bug in how next::method is calculated
+        - added test for this
+
+    - added util/visualize_c3.pl tool, which visualizes C3
+      dispatch order using GraphViz
+
+0.06 - Tues, Nov 15, 2005
+    - added Sub::Name to dependencies (even though it is
+      just for the tests)
+    - removed OS X resource fork which slipped into the tar.gz
+    - improved error reporting for Inconsistent Hierarchies
+    - added feature to insure that Overload "fallback" setting
+      is properly inherited
+        - added test for this
+
+0.05 - Mon, Nov 14, 2005
+    - added caching to next::method, courtesy of quicksilver
+      and mst over at #dbi-class
+        - added next::method edge case test
+        - added next::method & NEXT test
+
+0.04 - Thurs, Sept 29, 2004
+    - changed NEXT::METHOD::foo to next::method
+        - added more tests as well
+
+0.03 - Wed, Sept 28, 2005
+    - added the NEXT::METHOD psuedo package for method
+      redispatching along the C3 linearization
+        - added test for this
+
+0.02 - Mon, Aug 8, 2005
+    - code refactoring
+        - many comments added
+    - added many more tests
+        - most of the tests from Perl6::MetaModel moved over
+        - tested loading modules with `use` as well as the
+          inline package definition
+    - added optional 'c3' pragma
+        - this is not installed and can be found in opt/
+    - added `uninitialize` function to remove C3 dispatch ordering
+        - added tests for this
+    - added `reinitialize` function to reload C3 dispatch ordering
+        - added tests for this
+
+0.01 - Sun, Aug 7, 2005
+    - initial release of module
+    - some code and tests based on previous Perl6::MetaModel work
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/MANIFEST new/Class-C3-0.27/MANIFEST
--- old/Class-C3-0.26/MANIFEST  2014-03-05 00:45:17.000000000 +0100
+++ new/Class-C3-0.27/MANIFEST  2014-08-16 02:31:15.000000000 +0200
@@ -1,10 +1,10 @@
-ChangeLog
+Changes
 lib/Class/C3.pm
 lib/Class/C3/next.pm
+maint/Makefile.PL.include
 Makefile.PL
 MANIFEST                       This list of files
 opt/c3.pm
-README
 t/00_load.t
 t/01_MRO.t
 t/02_MRO.t
@@ -35,6 +35,6 @@
 t/lib/F.pm
 t/pod.t
 t/pod_coverage.t
-util/visualize_c3.pl
 META.yml                                 Module YAML meta-data (added by 
MakeMaker)
 META.json                                Module JSON meta-data (added by 
MakeMaker)
+README                                   README file (added by Distar)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/META.json new/Class-C3-0.27/META.json
--- old/Class-C3-0.26/META.json 2014-03-05 00:45:17.000000000 +0100
+++ new/Class-C3-0.27/META.json 2014-08-16 02:31:15.000000000 +0200
@@ -4,7 +4,7 @@
       "Stevan Little, <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.9, CPAN::Meta::Converter 
version 2.133380",
+   "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter 
version 2.141520",
    "license" : [
       "perl_5"
    ],
@@ -16,36 +16,61 @@
    "no_index" : {
       "directory" : [
          "t",
-         "inc"
+         "xt",
+         "opt"
       ]
    },
    "prereqs" : {
       "build" : {
+         "requires" : {}
+      },
+      "configure" : {
          "requires" : {
-            "Test::More" : "0.47"
+            "ExtUtils::CBuilder" : "0.27",
+            "ExtUtils::MakeMaker" : "0"
          }
       },
-      "configure" : {
+      "develop" : {
          "requires" : {
-            "ExtUtils::CBuilder" : "0.27"
+            "Moose" : "0",
+            "MooseX::Types::Common::Numeric" : "0",
+            "Mouse" : "0",
+            "Type::Tiny" : "0",
+            "bareword::filehandles" : "0",
+            "indirect" : "0",
+            "multidimensional" : "0",
+            "namespace::autoclean" : "0",
+            "namespace::clean" : "0"
          }
       },
       "runtime" : {
          "requires" : {
             "Algorithm::C3" : "0.07",
-            "Scalar::Util" : "0"
+            "Scalar::Util" : "0",
+            "perl" : "5.006"
+         }
+      },
+      "test" : {
+         "requires" : {
+            "Test::More" : "0.47"
          }
       }
    },
    "release_status" : "stable",
    "resources" : {
       "bugtracker" : {
-         "web" : "http://rt.cpan.org/Public/Dist/Display.html?Name=Class-C3";
+         "mailto" : "[email protected]",
+         "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=Class-C3";
       },
-      "homepage" : "http://search.cpan.org/dist/Class-C3";,
+      "homepage" : "https://metacpan.org/release/Class-C3";,
+      "license" : [
+         "http://dev.perl.org/licenses/";
+      ],
       "repository" : {
-         "url" : "git://git.shadowcat.co.uk/gitmo/Class-C3.git"
+         "type" : "git",
+         "url" : "git://git.shadowcat.co.uk/gitmo/Class-C3.git",
+         "web" : 
"http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Class-C3.git";
       }
    },
-   "version" : "0.26"
+   "version" : "0.27"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/META.yml new/Class-C3-0.27/META.yml
--- old/Class-C3-0.26/META.yml  2014-03-05 00:45:17.000000000 +0100
+++ new/Class-C3-0.27/META.yml  2014-08-16 02:31:15.000000000 +0200
@@ -6,8 +6,9 @@
   Test::More: '0.47'
 configure_requires:
   ExtUtils::CBuilder: '0.27'
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.9, CPAN::Meta::Converter version 
2.133380'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 
2.141520'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -16,12 +17,15 @@
 no_index:
   directory:
     - t
-    - inc
+    - xt
+    - opt
 requires:
   Algorithm::C3: '0.07'
   Scalar::Util: '0'
+  perl: '5.006'
 resources:
-  bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Class-C3
-  homepage: http://search.cpan.org/dist/Class-C3
+  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Class-C3
+  homepage: https://metacpan.org/release/Class-C3
+  license: http://dev.perl.org/licenses/
   repository: git://git.shadowcat.co.uk/gitmo/Class-C3.git
-version: '0.26'
+version: '0.27'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/Makefile.PL 
new/Class-C3-0.27/Makefile.PL
--- old/Class-C3-0.26/Makefile.PL       2014-01-17 03:15:40.000000000 +0100
+++ new/Class-C3-0.27/Makefile.PL       2014-08-12 08:32:22.000000000 +0200
@@ -1,92 +1,107 @@
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 use 5.006;
 
-use ExtUtils::MakeMaker;
-
-my $mymeta_works = eval { ExtUtils::MakeMaker->VERSION('6.5707'); 1 };
-my $mymeta = $mymeta_works || eval { ExtUtils::MakeMaker->VERSION('6.5702'); 1 
};
-
-my %BUILD_DEPS = (
-  'Test::More' => '0.47',
-);
-my %OPT_BUILD_DEPS = ( $] < 5.009_005 and is_smoker() )
-  ? ( 'Devel::Hide' => 0 ) : ()
-;
-
-my %RUN_DEPS = (
-  # needed by the PP version only, have them installed
-  # regardless of XS availability or perl version
-  # (for fatpacking and whatnot)
-  'Algorithm::C3' => '0.07',
-  'Scalar::Util'  => '0',
-);
-my %OPT_RUN_DEPS = ( $] < 5.009_005 and can_xs() )
-  ? ( 'Class::C3::XS'  => '0.13' ) : ()
-;
-
-my %META_BITS = (
+my %META = (
+  name => 'Class-C3',
+  license => 'perl_5',
+  prereqs => {
+    configure => { requires => {
+      'ExtUtils::MakeMaker'   => 0,
+      'ExtUtils::CBuilder'    => 0.27,
+    } },
+    build => { requires => {
+    } },
+    test => {
+      requires => {
+        'Test::More' => '0.47',
+      },
+    },
+    runtime => {
+      requires => {
+        'Algorithm::C3' => '0.07',
+        'Scalar::Util'  => '0',
+        'perl'          => 5.006,
+      },
+    },
+    develop   => {
+      requires => { map { $_ => 0 } qw(
+        indirect multidimensional bareword::filehandles
+        Moose Mouse namespace::clean namespace::autoclean
+        MooseX::Types::Common::Numeric
+        Type::Tiny
+      ) },
+    },
+  },
   resources => {
-    homepage => 'http://search.cpan.org/dist/Class-C3',
-    repository => 'git://git.shadowcat.co.uk/gitmo/Class-C3.git',
-    bugtracker => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Class-C3',
+    repository => {
+      url => 'git://git.shadowcat.co.uk/gitmo/Class-C3.git',
+      web => 
'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Class-C3.git',
+      type => 'git',
+    },
+    bugtracker => {
+      web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Class-C3',
+      mailto => '[email protected]',
+    },
+    homepage => 'https://metacpan.org/release/Class-C3',
+    license => [ 'http://dev.perl.org/licenses/' ],
+  },
+  no_index => {
+    directory => [ 't', 'xt', 'opt' ]
   },
 );
 
-my %WriteMakefileArgs = (
-  'NAME' => 'Class::C3',
-  'AUTHOR' => 'Stevan Little, <[email protected]>',
-  'VERSION_FROM' => 'lib/Class/C3.pm',
-  'ABSTRACT_FROM' => 'lib/Class/C3.pm',
-  'CONFIGURE_REQUIRES' => { 'ExtUtils::CBuilder' => 0.27 },
-  'PREREQ_PM' => {
-    %RUN_DEPS, %OPT_RUN_DEPS,
-    $mymeta_works ? () : (%BUILD_DEPS, %OPT_BUILD_DEPS),
+my %MM_ARGS = (
+  TEST_REQUIRES => {
+    ( $] < 5.009_005 and is_smoker() )
+      ? ( 'Devel::Hide' => 0 ) : ()
+  },
+  PREREQ_PM => {
+    ( $] < 5.009_005 and can_xs() )
+      ? ( 'Class::C3::XS'  => '0.13' ) : ()
   },
-
-  $mymeta_works
-    ? ( # BUILD_REQUIRES makes MYMETA right, requires stops META being wrong
-      'BUILD_REQUIRES' => { %BUILD_DEPS, %OPT_BUILD_DEPS },
-      'META_ADD' => {
-        %META_BITS,
-        requires => \%RUN_DEPS,
-      },
-    )
-    : ( # META_ADD both to get META right - only Makefile written
-      'META_ADD' => {
-        %META_BITS,
-        requires => \%RUN_DEPS,
-        build_requires => \%BUILD_DEPS,
-      },
-    )
-  ,
-
-  ($mymeta and !$mymeta_works) ? ( 'NO_MYMETA' => 1 ) : (),
-
-  'LICENSE' => 'perl',
 );
 
-
-unless ( eval { ExtUtils::MakeMaker->VERSION('6.56') } ) {
-  my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
-  my $pp = $WriteMakefileArgs{PREREQ_PM};
-  for my $mod ( keys %$br ) {
-    if ( exists $pp->{$mod} ) {
-       $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
-    }
-    else {
-      $pp->{$mod} = $br->{$mod};
-    }
-  }
+##############################################################################
+require ExtUtils::MakeMaker;
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+
+# have to do this since old EUMM dev releases miss the eval $VERSION line
+my $eumm_version  = eval $ExtUtils::MakeMaker::VERSION;
+my $mymeta        = $eumm_version >= 6.57_02;
+my $mymeta_broken = $mymeta && $eumm_version < 6.57_07;
+
+($MM_ARGS{NAME} = $META{name}) =~ s/-/::/g;
+($MM_ARGS{VERSION_FROM} = "lib/$MM_ARGS{NAME}.pm") =~ s{::}{/}g;
+$MM_ARGS{LICENSE} = $META{license}
+  if $eumm_version >= 6.30;
+$MM_ARGS{NO_MYMETA} = 1
+  if $mymeta_broken;
+$MM_ARGS{META_ADD} = { 'meta-spec' => { version => 2 }, %META }
+  unless -f 'META.yml';
+
+for (qw(configure build test runtime)) {
+  my $key = $_ eq 'runtime' ? 'PREREQ_PM' : uc $_.'_REQUIRES';
+  my $r = $MM_ARGS{$key} = {
+    %{$META{prereqs}{$_}{requires} || {}},
+    %{delete $MM_ARGS{$key} || {}},
+  };
+  defined $r->{$_} or delete $r->{$_} for keys %$r;
 }
 
-delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
-  unless eval { ExtUtils::MakeMaker->VERSION('6.52') };
+$MM_ARGS{MIN_PERL_VERSION} = delete $MM_ARGS{PREREQ_PM}{perl} || 0;
 
-system("pod2text lib/Class/C3.pm >README")
-    unless -f 'META.yml';
+delete $MM_ARGS{MIN_PERL_VERSION}
+  if $eumm_version < 6.47_01;
+$MM_ARGS{BUILD_REQUIRES} = {%{$MM_ARGS{BUILD_REQUIRES}}, %{delete 
$MM_ARGS{TEST_REQUIRES}}}
+  if $eumm_version < 6.63_03;
+$MM_ARGS{PREREQ_PM} = {%{$MM_ARGS{PREREQ_PM}}, %{delete 
$MM_ARGS{BUILD_REQUIRES}}}
+  if $eumm_version < 6.55_01;
+delete $MM_ARGS{CONFIGURE_REQUIRES}
+  if $eumm_version < 6.51_03;
 
-WriteMakefile(%WriteMakefileArgs);
+ExtUtils::MakeMaker::WriteMakefile(%MM_ARGS);
+##############################################################################
 
 # Secondary compile testing via ExtUtils::CBuilder
 sub can_xs {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/lib/Class/C3/next.pm 
new/Class-C3-0.27/lib/Class/C3/next.pm
--- old/Class-C3-0.26/lib/Class/C3/next.pm      2014-01-17 03:15:40.000000000 
+0100
+++ new/Class-C3-0.27/lib/Class/C3/next.pm      2014-08-16 02:30:11.000000000 
+0200
@@ -7,7 +7,7 @@
 
 use Scalar::Util 'blessed';
 
-our $VERSION = '0.24';
+our $VERSION = '0.27';
 
 our %METHOD_CACHE;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/lib/Class/C3.pm 
new/Class-C3-0.27/lib/Class/C3.pm
--- old/Class-C3-0.26/lib/Class/C3.pm   2014-03-05 00:42:17.000000000 +0100
+++ new/Class-C3-0.27/lib/Class/C3.pm   2014-08-16 02:30:00.000000000 +0200
@@ -4,7 +4,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.26';
+our $VERSION = '0.27';
 
 our $C3_IN_CORE;
 our $C3_XS;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/maint/Makefile.PL.include 
new/Class-C3-0.27/maint/Makefile.PL.include
--- old/Class-C3-0.26/maint/Makefile.PL.include 1970-01-01 01:00:00.000000000 
+0100
+++ new/Class-C3-0.27/maint/Makefile.PL.include 2014-08-16 02:26:12.000000000 
+0200
@@ -0,0 +1,11 @@
+BEGIN { -e 'Distar' or system("git clone 
git://git.shadowcat.co.uk/p5sagit/Distar.git") }
+use lib 'Distar/lib';
+use Distar 0.001;
+
+use ExtUtils::MakeMaker 6.57_10 ();
+
+author 'Stevan Little, <[email protected]>';
+
+manifest_include opt => '.pm';
+
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Class-C3-0.26/util/visualize_c3.pl 
new/Class-C3-0.27/util/visualize_c3.pl
--- old/Class-C3-0.26/util/visualize_c3.pl      2014-01-17 03:15:40.000000000 
+0100
+++ new/Class-C3-0.27/util/visualize_c3.pl      1970-01-01 01:00:00.000000000 
+0100
@@ -1,83 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-=pod
-
-This is a visualization tool to help with 
-understanding large MI hierarchies. It will
-output a DOT file for rendering with Graphviz.
-
-NOTE:
-This program is currently very primative, and 
-may break under some circumstances. If you 
-encounter one of those circumstances, please
-email me about it so that I can improve this 
-tool. 
-
-GRAPH LEGEND:
-In the graphs the green arrows are the ISA, 
-and the red arrows are the C3 dispatch order.
-
-=cut
-
-use Class::C3 ();
-
-@ARGV || die "usage : visualize_c3.pl <class-to-visualize> | <file-to-load> 
<class-to-visualize> <file-to-output>";
-
-my ($class, $OUT);
-if (scalar @ARGV == 1) {
-    $class = shift @ARGV;
-    eval "use $class";
-    die "Could not load '$class' :\n$@" if $@;
-}
-else {
-    my $file = shift @ARGV;
-    $class = shift @ARGV;    
-    $OUT = shift @ARGV;
-    do $file;
-    die "Could not load '$file' :\n$@" if $@;    
-}
-
-Class::C3->initialize();
-
-my @MRO = Class::C3::calculateMRO($class);
-
-sub get_class_str {
-    my $class = shift;
-    (join "_" => (split '::' => $class));    
-}
-
-my $output = "graph test {\n";
-
-my $prev;
-foreach my $class (@MRO) {
-    my $class_str = get_class_str($class);
-    $output .= "node_${class_str} [ label = \"" . $class . "\" ];\n";
-    {
-        no strict 'refs';
-        foreach my $super (@{"${class}::ISA"}) {
-            $output .= "node_" . get_class_str($super) . 
-                       " -- node_${class_str}" .
-                       " [ dir = back, color = green ];\n";
-        }
-    }
-    if ($prev) {
-        $output .= "node_${class_str} -- node_${prev}  [ dir = back, color = 
red ];\n";
-    }    
-    $prev = $class_str;
-}
-
-$output .= "}\n";
-
-warn $output;
-
-if ($OUT) {
-    open OUT, ">", $OUT || die "could not open '$OUT' for output";
-    print OUT $output;
-    close OUT;
-}
-else {
-    print $output;
-}
\ No newline at end of file


Reply via email to