Hello community,

here is the log from the commit of package perl-Test-CheckDeps for 
openSUSE:Factory checked in at 2013-10-06 14:31:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-CheckDeps (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-CheckDeps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-CheckDeps"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-CheckDeps/perl-Test-CheckDeps.changes  
2013-08-01 16:00:25.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-CheckDeps.new/perl-Test-CheckDeps.changes 
    2013-10-06 14:31:56.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Oct  4 09:15:17 UTC 2013 - co...@suse.com
+
+- updated to 0.008
+          - Switch to MakeMaker to fix bootstrapping issues
+          - bump prereq on CPAN::Meta::Check to latest (0.007), for conflicts
+            fixes
+
+-------------------------------------------------------------------

Old:
----
  Test-CheckDeps-0.006.tar.gz

New:
----
  Test-CheckDeps-0.008.tar.gz

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

Other differences:
------------------
++++++ perl-Test-CheckDeps.spec ++++++
--- /var/tmp/diff_new_pack.J5VgxA/_old  2013-10-06 14:32:02.000000000 +0200
+++ /var/tmp/diff_new_pack.J5VgxA/_new  2013-10-06 14:32:02.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Test-CheckDeps
-Version:        0.006
+Version:        0.008
 Release:        0
 %define cpan_name Test-CheckDeps
 Summary:        Check for presence of dependencies
@@ -30,12 +30,11 @@
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(CPAN::Meta) >= 2.120920
-BuildRequires:  perl(CPAN::Meta::Check) >= 0.004
-BuildRequires:  perl(Module::Build::Tiny) >= 0.021
+BuildRequires:  perl(CPAN::Meta::Check) >= 0.007
 BuildRequires:  perl(Test::More) >= 0.88
 #BuildRequires: perl(Test::CheckDeps)
 Requires:       perl(CPAN::Meta) >= 2.120920
-Requires:       perl(CPAN::Meta::Check) >= 0.004
+Requires:       perl(CPAN::Meta::Check) >= 0.007
 %{perl_requires}
 
 %description
@@ -46,14 +45,15 @@
 %setup -q -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Build.PL --installdirs=vendor
-./Build build --flags=%{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %check
-./Build test
+%{__make} test
 
 %install
-./Build install --destdir=%{buildroot} --create_packlist=0
+%perl_make_install
+%perl_process_packlist
 %perl_gen_filelist
 
 %files -f %{name}.files

++++++ Test-CheckDeps-0.006.tar.gz -> Test-CheckDeps-0.008.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/Build.PL 
new/Test-CheckDeps-0.008/Build.PL
--- old/Test-CheckDeps-0.006/Build.PL   2013-06-21 19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/Build.PL   1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-use 5.006;
-use Module::Build::Tiny 0.021;
-Build_PL();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/Changes 
new/Test-CheckDeps-0.008/Changes
--- old/Test-CheckDeps-0.006/Changes    2013-06-21 19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/Changes    2013-09-25 13:50:51.000000000 +0200
@@ -1,23 +1,30 @@
 Revision history for Test-CheckDeps
 
+0.008     2013-09-25 13:49:59 Europe/Amsterdam
+          - Switch to MakeMaker to fix bootstrapping issues
+
+0.007     2013-09-18 23:42:21 Europe/Amsterdam
+          - bump prereq on CPAN::Meta::Check to latest (0.007), for conflicts
+            fixes
+
 0.006     2013-06-21 19:15:24 Europe/Amsterdam
-          Explicitly require CPAN::Meta 2.120920
-          Switch to Module::Build::Tiny
+          - Explicitly require CPAN::Meta 2.120920
+          - Switch to Module::Build::Tiny
 
 0.005     2013-06-21 18:55:09 Europe/Amsterdam
-          Require CPAN::Meta::Check 0.004
+          - Require CPAN::Meta::Check 0.004
 
 0.004     2013-05-15 00:04:46 Europe/Amsterdam
-          Reinstate loading of CPAN::Meta
+          - Reinstate loading of CPAN::Meta
 
 0.003     2013-05-14 23:16:36 Europe/Amsterdam
-          Sort dependencies before displaying them
-          check_dependencies() can now optionally also test recommended and
-          suggested prerequisites
+          - Sort dependencies before displaying them
+          - check_dependencies() can now optionally also test recommended and
+            suggested prerequisites
 
 0.002     2012-04-01 12:58:10 Europe/Amsterdam
-          Converted to using Test::Builder directly
-          Refactored most non-test code into a new dist, CPAN-Meta-Check
+          - Converted to using Test::Builder directly
+          - Refactored most non-test code into a new dist, CPAN-Meta-Check
 
 0.001     2011-10-16 13:15:04 Europe/Amsterdam
-          Initial release
+          - Initial release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/INSTALL 
new/Test-CheckDeps-0.008/INSTALL
--- old/Test-CheckDeps-0.006/INSTALL    2013-06-21 19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/INSTALL    2013-09-25 13:50:51.000000000 +0200
@@ -25,16 +25,16 @@
 As a last resort, you can manually install it. Download the tarball, untar it,
 then build it:
 
-    % perl Build.PL
-    % ./Build && ./Build test
+    % perl Makefile.PL
+    % make && make test
 
 Then install it:
 
-    % ./Build install
+    % make install
 
 If you are installing into a system-wide directory, you may need to run:
 
-    % sudo ./Build install
+    % sudo make install
 
 ## Documentation
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/MANIFEST 
new/Test-CheckDeps-0.008/MANIFEST
--- old/Test-CheckDeps-0.006/MANIFEST   2013-06-21 19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/MANIFEST   2013-09-25 13:50:51.000000000 +0200
@@ -1,10 +1,10 @@
-Build.PL
 Changes
 INSTALL
 LICENSE
 MANIFEST
 META.json
 META.yml
+Makefile.PL
 README
 dist.ini
 lib/Test/CheckDeps.pm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/META.json 
new/Test-CheckDeps-0.008/META.json
--- old/Test-CheckDeps-0.006/META.json  2013-06-21 19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/META.json  2013-09-25 13:50:51.000000000 +0200
@@ -4,7 +4,7 @@
       "Leon Timmermans <le...@cpan.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 4.300034, CPAN::Meta::Converter 
version 2.120921",
+   "generated_by" : "Dist::Zilla version 4.300038, CPAN::Meta::Converter 
version 2.120921",
    "license" : [
       "perl_5"
    ],
@@ -16,7 +16,7 @@
    "prereqs" : {
       "configure" : {
          "requires" : {
-            "Module::Build::Tiny" : "0.021"
+            "ExtUtils::MakeMaker" : "6.30"
          }
       },
       "develop" : {
@@ -29,7 +29,7 @@
       "runtime" : {
          "requires" : {
             "CPAN::Meta" : "2.120920",
-            "CPAN::Meta::Check" : "0.004",
+            "CPAN::Meta::Check" : "0.007",
             "Exporter" : "5.57",
             "List::Util" : "0",
             "Test::Builder" : "0",
@@ -40,8 +40,9 @@
       },
       "test" : {
          "requires" : {
-            "File::Find" : "0",
-            "File::Temp" : "0",
+            "File::Spec" : "0",
+            "IO::Handle" : "0",
+            "IPC::Open3" : "0",
             "Test::More" : "0.88"
          }
       }
@@ -58,6 +59,10 @@
          "web" : "https://github.com/Leont/test-checkdeps";
       }
    },
-   "version" : "0.006"
+   "version" : "0.008",
+   "x_contributors" : [
+      "Karen Etheridge <et...@cpan.org>",
+      "Leon Timmermans <faw...@gmail.com>"
+   ]
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/META.yml 
new/Test-CheckDeps-0.008/META.yml
--- old/Test-CheckDeps-0.006/META.yml   2013-06-21 19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/META.yml   2013-09-25 13:50:51.000000000 +0200
@@ -3,13 +3,14 @@
 author:
   - 'Leon Timmermans <le...@cpan.org>'
 build_requires:
-  File::Find: 0
-  File::Temp: 0
+  File::Spec: 0
+  IO::Handle: 0
+  IPC::Open3: 0
   Test::More: 0.88
 configure_requires:
-  Module::Build::Tiny: 0.021
+  ExtUtils::MakeMaker: 6.30
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300034, CPAN::Meta::Converter version 
2.120921'
+generated_by: 'Dist::Zilla version 4.300038, CPAN::Meta::Converter version 
2.120921'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -17,7 +18,7 @@
 name: Test-CheckDeps
 requires:
   CPAN::Meta: 2.120920
-  CPAN::Meta::Check: 0.004
+  CPAN::Meta::Check: 0.007
   Exporter: 5.57
   List::Util: 0
   Test::Builder: 0
@@ -27,4 +28,7 @@
 resources:
   bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Test-CheckDeps
   repository: git://github.com/Leont/test-checkdeps.git
-version: 0.006
+version: 0.008
+x_contributors:
+  - 'Karen Etheridge <et...@cpan.org>'
+  - 'Leon Timmermans <faw...@gmail.com>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/Makefile.PL 
new/Test-CheckDeps-0.008/Makefile.PL
--- old/Test-CheckDeps-0.006/Makefile.PL        1970-01-01 01:00:00.000000000 
+0100
+++ new/Test-CheckDeps-0.008/Makefile.PL        2013-09-25 13:50:51.000000000 
+0200
@@ -0,0 +1,76 @@
+
+use strict;
+use warnings;
+
+use 5.006;
+
+use ExtUtils::MakeMaker 6.30;
+
+
+
+my %WriteMakefileArgs = (
+  "ABSTRACT" => "Check for presence of dependencies",
+  "AUTHOR" => "Leon Timmermans <leont\@cpan.org>",
+  "BUILD_REQUIRES" => {},
+  "CONFIGURE_REQUIRES" => {
+    "ExtUtils::MakeMaker" => "6.30"
+  },
+  "DISTNAME" => "Test-CheckDeps",
+  "EXE_FILES" => [],
+  "LICENSE" => "perl",
+  "NAME" => "Test::CheckDeps",
+  "PREREQ_PM" => {
+    "CPAN::Meta" => "2.120920",
+    "CPAN::Meta::Check" => "0.007",
+    "Exporter" => "5.57",
+    "List::Util" => 0,
+    "Test::Builder" => 0,
+    "strict" => 0,
+    "warnings" => 0
+  },
+  "TEST_REQUIRES" => {
+    "File::Spec" => 0,
+    "IO::Handle" => 0,
+    "IPC::Open3" => 0,
+    "Test::More" => "0.88"
+  },
+  "VERSION" => "0.008",
+  "test" => {
+    "TESTS" => "t/*.t"
+  }
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+  my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
+  my $br = $WriteMakefileArgs{BUILD_REQUIRES};
+  for my $mod ( keys %$tr ) {
+    if ( exists $br->{$mod} ) {
+      $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
+    }
+    else {
+      $br->{$mod} = $tr->{$mod};
+    }
+  }
+}
+
+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};
+    }
+  }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/README 
new/Test-CheckDeps-0.008/README
--- old/Test-CheckDeps-0.006/README     2013-06-21 19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/README     2013-09-25 13:50:51.000000000 +0200
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution Test-CheckDeps,
-version 0.006:
+version 0.008:
 
   Check for presence of dependencies
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/dist.ini 
new/Test-CheckDeps-0.008/dist.ini
--- old/Test-CheckDeps-0.006/dist.ini   2013-06-21 19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/dist.ini   2013-09-25 13:50:51.000000000 +0200
@@ -5,4 +5,6 @@
 copyright_year   = 2011
 
 [@LEONT]
-install_tool = mbt
+install_tool = eumm
+
+[ContributorsFromGit]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/lib/Test/CheckDeps.pm 
new/Test-CheckDeps-0.008/lib/Test/CheckDeps.pm
--- old/Test-CheckDeps-0.006/lib/Test/CheckDeps.pm      2013-06-21 
19:15:30.000000000 +0200
+++ new/Test-CheckDeps-0.008/lib/Test/CheckDeps.pm      2013-09-25 
13:50:51.000000000 +0200
@@ -1,6 +1,6 @@
 package Test::CheckDeps;
 {
-  $Test::CheckDeps::VERSION = '0.006';
+  $Test::CheckDeps::VERSION = '0.008';
 }
 use strict;
 use warnings FATAL => 'all';
@@ -11,7 +11,7 @@
 our %EXPORT_TAGS = (all => [ @EXPORT, @EXPORT_OK ] );
 
 use CPAN::Meta 2.120920;
-use CPAN::Meta::Check 0.004 qw/check_requirements requirements_for/;
+use CPAN::Meta::Check 0.007 qw/check_requirements requirements_for/;
 use List::Util qw/first/;
 use Test::Builder;
 
@@ -52,7 +52,9 @@
        my $ret = check_requirements($reqs, $type);
 
        for my $module (sort keys %{$ret}) {
-               $builder->ok(!defined $ret->{$module}, "$module satisfies '" . 
$raw->{$module} . "'") or $builder->diag($ret->{$module});
+               $builder->ok(!defined $ret->{$module}, "$module satisfies '" . 
$raw->{$module} . "'")
+                       or $builder->diag($ret->{$module});
+                       # Note: when in a TODO, diag behaves like note
        }
        return;
 }
@@ -61,8 +63,6 @@
 
 #ABSTRACT: Check for presence of dependencies
 
-__END__
-
 =pod
 
 =head1 NAME
@@ -71,7 +71,7 @@
 
 =head1 VERSION
 
-version 0.006
+version 0.008
 
 =head1 DESCRIPTION
 
@@ -125,3 +125,7 @@
 the same terms as the Perl 5 programming language system itself.
 
 =cut
+
+__END__
+
+# vi:noet:sts=2:sw=2:ts=2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/t/00-compile.t 
new/Test-CheckDeps-0.008/t/00-compile.t
--- old/Test-CheckDeps-0.006/t/00-compile.t     2013-06-21 19:15:30.000000000 
+0200
+++ new/Test-CheckDeps-0.008/t/00-compile.t     2013-09-25 13:50:51.000000000 
+0200
@@ -1,74 +1,46 @@
-#!perl
-
 use strict;
 use warnings;
 
-use Test::More;
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.033
 
+use Test::More  tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
 
 
-use File::Find;
-use File::Temp qw{ tempdir };
 
-my @modules;
-find(
-  sub {
-    return if $File::Find::name !~ /\.pm\z/;
-    my $found = $File::Find::name;
-    $found =~ s{^lib/}{};
-    $found =~ s{[/\\]}{::}g;
-    $found =~ s/\.pm$//;
-    # nothing to skip
-    push @modules, $found;
-  },
-  'lib',
+my @module_files = (
+    'Test/CheckDeps.pm'
 );
 
-sub _find_scripts {
-    my $dir = shift @_;
-
-    my @found_scripts = ();
-    find(
-      sub {
-        return unless -f;
-        my $found = $File::Find::name;
-        # nothing to skip
-        open my $FH, '<', $_ or do {
-          note( "Unable to open $found in ( $! ), skipping" );
-          return;
-        };
-        my $shebang = <$FH>;
-        return unless $shebang =~ /^#!.*?\bperl\b\s*$/;
-        push @found_scripts, $found;
-      },
-      $dir,
-    );
 
-    return @found_scripts;
-}
 
-my @scripts;
-do { push @scripts, _find_scripts($_) if -d $_ }
-    for qw{ bin script scripts };
+# no fake home requested
 
-my $plan = scalar(@modules) + scalar(@scripts);
-$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
+use File::Spec;
+use IPC::Open3;
+use IO::Handle;
 
+my @warnings;
+for my $lib (@module_files)
 {
-    # fake home for cpan-testers
-    # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
+    # see L<perlfaq8/How can I capture STDERR from an external command?>
+    open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
+    my $stderr = IO::Handle->new;
+
+    my $pid = open3($stdin, '>&STDERR', $stderr, $^X, '-Mblib', '-e', "require 
q[$lib]");
+    binmode $stderr, ':crlf' if $^O eq 'MSWin32';
+    my @_warnings = <$stderr>;
+    waitpid($pid, 0);
+    is($? >> 8, 0, "$lib loaded ok");
+
+    if (@_warnings)
+    {
+        warn @_warnings;
+        push @warnings, @_warnings;
+    }
+}
 
-    like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ 
loaded ok" )
-        for sort @modules;
 
-    SKIP: {
-        eval "use Test::Script 1.05; 1;";
-        skip "Test::Script needed to test script compilation", 
scalar(@scripts) if $@;
-        foreach my $file ( @scripts ) {
-            my $script = $file;
-            $script =~ s!.*/!!;
-            script_compiles( $file, "$script script compiles" );
-        }
-    }
 
-}
+is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-CheckDeps-0.006/t/10-basics.t 
new/Test-CheckDeps-0.008/t/10-basics.t
--- old/Test-CheckDeps-0.006/t/10-basics.t      2013-06-21 19:15:30.000000000 
+0200
+++ new/Test-CheckDeps-0.008/t/10-basics.t      2013-09-25 13:50:51.000000000 
+0200
@@ -10,3 +10,4 @@
 check_dependencies('recommends');
 
 done_testing;
+# vi:noet:sts=2:sw=2:ts=2

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to